aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2015-03-25 11:01:33 +0000
committerAlexander Potapenko <glider@google.com>2015-03-25 11:01:33 +0000
commit2dee295a8999a688e6492dcba0fb530cb17faf07 (patch)
treef23fda7740cc5cf42a29debcae6e559210e88ce0 /llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
parent639e8ad64474adcde2b349db2a01ab4b55090189 (diff)
downloadllvm-2dee295a8999a688e6492dcba0fb530cb17faf07.zip
llvm-2dee295a8999a688e6492dcba0fb530cb17faf07.tar.gz
llvm-2dee295a8999a688e6492dcba0fb530cb17faf07.tar.bz2
[ASan] Suppress the deprecation warning from atos that breaks AtosSymbolizer on OSX 10.9
On OS X 10.9 /usr/bin/atos prints the following warning upon invocation: -- Warning: /usr/bin/atos is moving and will be removed from a future OS X release. It is now available in the Xcode developer tools to be invoked via: `xcrun atos` To silence this warning, pass the '-d' command-line flag to this tool. -- AtosSymbolizer treats the warning as the symbolization result for the first PC passed to the symbolizer. As a result, for each of the following PCs the file:line info for the previous PC is printed, e.g.: ==97926==ERROR: AddressSanitizer: attempting double-free on 0x60200000dfb0 in thread T0: ==97926==Using atos at user-specified path: /usr/bin/atos ==97926==Using dladdr symbolizer. #0 0x1007407e0 in -- (+0x427e0) #1 0x1006f6f25 in wrap_free asan_malloc_mac.cc:114 #2 0x7fff916e05fc in main atos-symbolizer.cc:17 #3 0x0 (<unknown module>) Unfortunately atos doesn't accept the -d switch on OSX versions other than 10.9, thus we have to check for the OSX version. llvm-svn: 233180
Diffstat (limited to 'llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions