- Dec 19, 2012
-
-
Alexey Samsonov authored
llvm-svn: 170549
-
Alexey Samsonov authored
llvm-svn: 170543
-
Alexey Samsonov authored
build tree. Now just-built Clang is used to: 1) compile instrumented sources (as before); 2) compile non-instrumented sources; 3) compile our own instrumented version of googletest; 4) link it all together using -fsanitize=address flag (instead of trying to copy linker behavior in CMake build rules). This makes ASan unittests pretty much self-consistent and independent of other LLVM libraries. llvm-svn: 170541
-
- Nov 30, 2012
-
-
Kostya Serebryany authored
llvm-svn: 168990
-
- Nov 06, 2012
-
-
Richard Smith authored
llvm-svn: 167434
-
- Oct 19, 2012
-
-
Alexey Samsonov authored
llvm-svn: 166282
-
- Oct 17, 2012
-
-
Alexey Samsonov authored
llvm-svn: 166104
-
- Sep 12, 2012
-
-
Alexey Samsonov authored
llvm-svn: 163704
-
Alexey Samsonov authored
llvm-svn: 163686
-
- Sep 11, 2012
-
-
Evgeniy Stepanov authored
llvm-svn: 163613
-
- Sep 05, 2012
-
-
Alexey Samsonov authored
[ASan] hoist more compile flags to SANITIZER_COMMON_CFLAGS var and add the rest of flags/defs from old Makefile to CMake llvm-svn: 163204
-
Alexey Samsonov authored
llvm-svn: 163201
-
- Aug 29, 2012
-
-
Chandler Carruth authored
This hoists most of the CFLAGS into a common variable. It also adds detection for -Wno-c99-extensions and uses it to silence a pile of warnings. Finally, it switches to the proper flag -rdynamic. With this, the cmake build is warning free on my bootstrap Linux build. llvm-svn: 162809
-
- Aug 28, 2012
-
-
Alexey Samsonov authored
llvm-svn: 162750
-
- Aug 10, 2012
-
-
Alexey Samsonov authored
llvm-svn: 161665
-
- Aug 07, 2012
-
-
Alexey Samsonov authored
llvm-svn: 161406
-
- Jul 25, 2012
-
-
Alexey Samsonov authored
cmake for compiler-rt: add a function to set output dirs for compiler runtimes equal to directory used by Clang driver. Use it for ASan runtime. Also, make sure that ASan unit tests depend on the ASan runtime. llvm-svn: 160721
-
- Jul 24, 2012
-
-
Alexey Samsonov authored
[ASan] Support for cmake build of ASan unittests in 32-bit LLVM build. Currently, to run ASan unit tests both for 32- and 64 bits one has to maintain two distinct LLVM builds. In a bright future, we'd like to use a single build for this llvm-svn: 160666
-
- Jun 29, 2012
-
-
Alexey Samsonov authored
[ASan] cmake unit tests: explicitly add necessary linker flags when linking unit tests with asan runtime llvm-svn: 159420
-
Alexey Samsonov authored
llvm-svn: 159419
-
- Jun 28, 2012
-
-
Alexey Samsonov authored
llvm-svn: 159347
-
Alexey Samsonov authored
llvm-svn: 159345
-
Alexey Samsonov authored
[ASan] update cmake rules so that ASan unit tests can include googletest (and, hence, llvm) headers when they are built by fresh Clang llvm-svn: 159343
-
- Jun 27, 2012
-
-
Chandler Carruth authored
just-built Clang binary, and linking them against the just-built ASan runtime. This is *very* brittle. I expect it will require tweaking, and I've pro-actively disabled it on non-Unix builds and on cross-builds. It is also currently missing dependency edges on GoogleTest header files and a few other corner cases, but those can be fixed. This is the major milestone of a mini-bootstrap-like build of the unittest. llvm-svn: 159255
-
- Jun 25, 2012
-
-
Kostya Serebryany authored
llvm-svn: 159143
-
Chandler Carruth authored
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
-