commit | ea32ab98f4eb01b0d2400673f66742344bf0a680 | [log] [tgz] |
---|---|---|
author | Kevin Enderby <enderby@apple.com> | Thu Jan 16 18:43:56 2014 +0000 |
committer | Kevin Enderby <enderby@apple.com> | Thu Jan 16 18:43:56 2014 +0000 |
tree | 2628f6a1102eec0c6c18df1de0706175805d898c | |
parent | 22939fa0a4d8e139b14fb0d8c915bb45ce53600e [diff] |
Tweak the MCExternalSymbolizer to print references to C string literals with raw_ostream's write_escaped() method. For example darwin's otool(1) program that uses the llvm disassembler now produces disassembly like this: leaq 0x7b(%rip), %rdi ## literal pool for: "%f\ntoto\n" and not print the new lines which messes up the output. rdar://15145300 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199407 91177308-0d34-0410-b5e6-96231b3b80d8