[PATCH] Teach llvm-lit about ENABLE_BACKTRACES

Pete Cooper peter_cooper at apple.com
Tue Feb 10 11:13:30 PST 2015


Hi Chandler, Owen

In your patches to LLVM which changed ThreadLocal and PrettyStackTrace, we ended up requiring ENABLE_BACKTRACES for PrettyStackTrace.

Trouble is, clang has 2 tests which check for the pretty stack trace on crashes.  This patch teaches lit about the ENABLE_BACKTRACES option, and updates those 2 tests to use that option.  Without this patch, clang fails to pass llvm-lit without back traces.

Thanks,
Pete

-------------- next part --------------
A non-text attachment was scrubbed...
Name: backtrace.diff
Type: application/octet-stream
Size: 1727 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150210/04e3fe57/attachment.obj>


More information about the cfe-commits mailing list