[Lldb-commits] [PATCH] [lldb] Add @skipIfAddressSanitizerUnsupported test decorator

Kuba Brecka kuba.brecka at gmail.com
Fri Nov 14 10:37:39 PST 2014


Adding the @skipIfAddressSanitizerUnsupported decorator, which detects whether the compiler supports "-fsanitize=address", and skips the marked tests if not. Getting rid of the stupid "findBuiltClang" logic, in favor of just using the same compiler that you use for the rest of the tests.

Related to http://reviews.llvm.org/D6205. I also updated the ASan test cases to react more properly to the "stop reason = exec", which is probably a OS X only thing, on Linux where ASan is a static library, the relaunch doesn't happen. Doug, could you try this patch on Ubuntu, if it resolves the test failure you were seeing?

http://reviews.llvm.org/D6272

Files:
  functionalities/asan/Makefile
  functionalities/asan/TestMemoryHistory.py
  functionalities/asan/TestReportData.py
  lldbtest.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6272.16228.patch
Type: text/x-patch
Size: 8915 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20141114/ef02e0f7/attachment.bin>


More information about the lldb-commits mailing list