Alexey Samsonov
3e40703ab5
[DFSan] Remove explicit -m64 from RUN lines.
...
Target-specific flags should usually be configured by CMake/lit.
llvm-svn: 230997
2015-03-02 19:34:06 +00:00
Lorenzo Martignoni
101f1d82ff
[DFSan] Add flag to dump the labels when the program terminates.
...
Differential Revision: http://reviews.llvm.org/D6306
llvm-svn: 222425
2014-11-20 10:01:08 +00:00
Peter Collingbourne
f20091118c
[dfsan] Add runtime function for aborting on indirect calls to
...
uninstrumented vararg functions.
llvm-svn: 221364
2014-11-05 17:21:11 +00:00
Peter Collingbourne
b190e1b74b
Update __dfsw_s{,n}printf custom functions for new calling convention.
...
Differential Revision: http://reviews.llvm.org/D6029
llvm-svn: 220907
2014-10-30 13:23:01 +00:00
Lorenzo Martignoni
60ebffc12f
Custom wrappers for DFSanitizing sprintf & snprintf.
...
Differential Revision: http://reviews.llvm.org/D5561
llvm-svn: 219293
2014-10-08 10:01:42 +00:00
Peter Collingbourne
8501e39a85
[dfsan] Fix the declaration of dfsan_add_label.
...
llvm-svn: 210202
2014-06-04 17:54:51 +00:00
Greg Fitzgerald
b8aae5405b
Add %run to all lit tests
...
llvm-svn: 207709
2014-04-30 21:34:17 +00:00
Peter Collingbourne
16f2f18105
Add user-defined callback on write() calls.
...
Add dfsan_set_write_callback(), which sets a callback to be invoked when
a write() call is invoked within DFSan instrumented code.
Patch by Sam Kerner!
Differential Revision: http://reviews.llvm.org/D3268
llvm-svn: 207131
2014-04-24 17:42:16 +00:00
Peter Collingbourne
5d167dae7d
Add function to get the number of DFSan labels allocated.
...
Expose the number of DFSan labels allocated by adding function dfsan_get_label_count().
Patch by Sam Kerner!
Differential Revision: http://llvm-reviews.chandlerc.com/D3109
llvm-svn: 204854
2014-03-26 21:09:53 +00:00
Alexey Samsonov
5e6d83258e
[CMake] lit tests shouldn't depend on runtimes in standalone build
...
llvm-svn: 201771
2014-02-20 09:47:18 +00:00
Alexey Samsonov
31043152d3
Add rudimentary support for running compiler-rt lit tests with GCC
...
llvm-svn: 201680
2014-02-19 15:13:14 +00:00
Alexey Samsonov
1c9b9bcb5c
Simplify defining Clang compile flags in lit configs
...
llvm-svn: 201513
2014-02-17 13:08:10 +00:00
Alexey Samsonov
f6cf6ab53b
Move DFSan test suite under test/
...
llvm-svn: 201403
2014-02-14 12:05:41 +00:00