Go to file
Chandler Carruth 9359efa986 Cleanup the handling of CFLAGS even more in the cmake build for ASan.
Add the initial support for building ASan tests.

The first change here is to try to get the CFLAGS to more closely match
those used by the old Makefile. There are probably still goofs here,
ASan folks, your review would be appreciated.

The second big change is to add support for building both
instrumentation based an non-instrumentation based unittests for ASan.
They are built a bit differently from how the old makefiles managed
things. Specifically, there are two binaries, one for the
non-instrumented case, and one for the instrumented case.

Also, the instrumented unit tests rely on the host compiler supporting
AddressSanitizer's intrumentation pass. This is kind-of gross, but
I don't know of a better way yet. I've mailed llvmdev to discuss this
issue.

One big caveat is that the detection logic currently doesn't work. I've
commented it out temporarily as I'd like to get feedback from the ASan
developers, etc.

llvm-svn: 159134
2012-06-25 12:57:43 +00:00
clang Add test for -Wused-but-marked-unused on private fields. 2012-06-25 09:19:47 +00:00
compiler-rt Cleanup the handling of CFLAGS even more in the cmake build for ASan. 2012-06-25 12:57:43 +00:00
debuginfo-tests Fix this for buggy gdb behavior alongside the change 2012-06-05 18:16:03 +00:00
libclc configure.py: Add an install rule. 2012-06-01 17:29:59 +00:00
libcxx Revert pair constructors back to using is_convertible instead of is_constructible. This should pull things into alignment with the final draft. Fixes http://llvm.org/bugs/show_bug.cgi?id=13063#add_comment. 2012-06-09 20:01:23 +00:00
libcxxabi Don't dereference root in __parse_ctor_dtor_name unless it is known to not be null. 2012-06-15 21:57:51 +00:00
lld Fix link order. Patch by Sidney Manning. 2012-06-21 22:42:00 +00:00
lldb The StepOverBreakpoint plan should only explain eStopReasonTrace. It didn't cause any other exceptional stop reason. 2012-06-22 20:42:22 +00:00
llvm The name (and comment describing) of llvm::GetFirstDebuigLocInBasicBlock no longer represents what the function does. Therefore, the function is removed and its functionality is folded into the only place in the code-base where it was being used. 2012-06-25 10:13:14 +00:00
polly Add TempScop::isWrite() function. 2012-06-22 10:59:36 +00:00