Go to file
Alexander Potapenko 2dee295a89 [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
2015-03-25 11:01:33 +00:00
clang Create android x86_32 and x86_64 target info 2015-03-25 10:38:50 +00:00
clang-tools-extra Fix false positive on anonymous namespaces in headers. 2015-03-24 15:21:45 +00:00
compiler-rt [ASan] Suppress the deprecation warning from atos that breaks AtosSymbolizer on OSX 10.9 2015-03-25 11:01:33 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Implement fast_distance builtin 2015-03-23 18:10:04 +00:00
libcxx Fix incorrect error handling of call to mbrtowc. This is PR#13759. Leaving the bug open because (1) I'm not sure that we're correct here, only better than before, and (2) no tests 2015-03-23 20:07:17 +00:00
libcxxabi Don't print debugging messages to stdout. 2015-03-19 09:17:21 +00:00
lld Add a test for r233128: PECOFF: Reduce import table size. 2015-03-25 00:18:16 +00:00
lldb Fix StdVBoolImplementation to handle large vectors 2015-03-25 10:59:12 +00:00
llgo llgoi: Fix type identity for imported binary packages. 2015-03-18 08:34:40 +00:00
llvm Reapply r233062: "float2int": Add a new pass to demote from float to int where possible. 2015-03-25 10:03:42 +00:00
openmp fix for broken commit 231774 2015-03-10 10:14:57 +00:00
polly Drop -polly-vectorizer-unroll-only option 2015-03-23 07:00:36 +00:00