llvm-project/compiler-rt/lib
Dean Michael Berris 7c030a2d91 [XRay] [compiler-rt] Include argv[0] in the log file name.
Summary:
If you decide to recompile parts of your Linux distro with XRay, it may
be useful to know which trace belongs to which binary.  While there, get
rid of the incorrect strncat() usage; it always returns a pointer to the
start which makes that if() always true.  Replace with snprintf which is
bounded so that enough from both strings fits nicely.

Reviewers: dberris

Subscribers: danalbert, srhines, kubabrecka, mgorny, llvm-commits

Differential Revision: https://reviews.llvm.org/D27912

llvm-svn: 290861
2017-01-03 04:35:24 +00:00
..
BlocksRuntime Move tests for BlocksRuntime and builtins to corresponding directories under test/ 2014-02-14 09:47:31 +00:00
asan Decrease kLargeMalloc block size in ASAN unit tests. 2016-12-28 21:57:51 +00:00
builtins [builtin] Add Thumb1 implementation for idivsi3 and aeabi_idivmod 2016-12-07 19:14:29 +00:00
cfi [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
dfsan [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
esan [esan] Fix ESan test failure on Debian Sid bot 2016-10-07 20:53:35 +00:00
interception [asan] Don't assert that a target is within 2GB on 32-bit Windows 2016-11-15 18:29:17 +00:00
lsan Return memory to OS right after free (not in the async thread). 2016-11-29 00:22:50 +00:00
msan [compiler-rt] Move logic which replace memcpy interceptor with memmove from asan to sanitizer_common. 2016-12-27 21:13:11 +00:00
profile [Profile] Fix value profiler eviction bug 2016-11-29 22:00:54 +00:00
safestack [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
sanitizer_common [asan] Fix handling of %m in printf interceptor. 2016-12-27 22:14:03 +00:00
scudo [scudo] Use DefaultSizeClassMap for 32-bit 2016-12-15 18:06:55 +00:00
stats stats: define WIN32_LEAN_AND_MEAN when including windows.h 2016-08-30 20:15:46 +00:00
tsan [tsan] Fix string to bool conversion warnings in tsan tests 2016-12-27 02:05:24 +00:00
ubsan [ubsan] More 0 -> nullptr conversions (NFC) 2016-10-06 23:41:57 +00:00
xray [XRay] [compiler-rt] Include argv[0] in the log file name. 2017-01-03 04:35:24 +00:00
CMakeLists.txt build: allow building a specific set of sanitizers 2016-08-19 15:13:21 +00:00