llvm-project/compiler-rt/lib
Dean Michael Berris 47e6b8c2c7 [XRay][compiler-rt] Support string-based config for Basic mode.
Summary:
This addresses http://llvm.org/PR36790.

This change allows the XRay Basic Mode implementation to use the
string-based initialization routine provided through
`__xray_log_init_mode(...)`. In the process, we've also deprecated some
flags defined for the `XRAY_OPTIONS` environment variable.

We then introduce another environment variable that can control the XRay
Basic Mode implementation through `XRAY_BASIC_OPTIONS`.

We also rename files from `xray_inmemory_log` to `xray_basic_logging` to
be more in line with the mode implementation.

Depends on D46174.

Reviewers: echristo, kpw, pelikan, eizan

Reviewed By: kpw

Subscribers: mgorny, llvm-commits

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

llvm-svn: 331507
2018-05-04 06:27:53 +00:00
..
BlocksRuntime [compiler-rt] Test commit: remove some trailing white spaces. 2017-08-25 19:36:30 +00:00
asan [libFuzzer] Report at most one crash per input. 2018-05-01 21:01:53 +00:00
builtins [compiler-rt][X86][AMD][Bulldozer] Fix Bulldozer Model 2 detection. 2018-05-01 18:40:15 +00:00
cfi [sanitizer] Build failures fixes post D45457 2018-04-16 16:58:34 +00:00
dfsan Reland "Install resource files into a share/ directory" 2018-01-14 03:43:14 +00:00
esan [sanitizer] Split Symbolizer/StackTraces from core RTSanitizerCommon 2018-04-16 16:32:19 +00:00
fuzzer [libFuzzer] Don't short-circuit from CrashCallback. 2018-05-02 02:55:28 +00:00
hwasan [HWASan] Use dynamic shadow memory on Android only. 2018-04-24 00:17:02 +00:00
interception The OpenBSD UBsan port introduced two typos that broke the Solaris sanitizer build. 2018-04-24 13:00:24 +00:00
lsan [sanitizer] Split Symbolizer/StackTraces from core RTSanitizerCommon 2018-04-16 16:32:19 +00:00
msan [sanitizer] Split Symbolizer/StackTraces from core RTSanitizerCommon 2018-04-16 16:32:19 +00:00
profile Fix clang-cl warnings in compiler-rt 2018-04-23 17:05:47 +00:00
safestack Enable SafeStack on NetBSD 2017-08-10 18:40:09 +00:00
sanitizer_common [sanitizer] Remove unused 32-bit allocator TransferBatch parameter 2018-05-03 19:14:07 +00:00
scudo [scudo] Adding an interface function to print allocator stats 2018-04-25 18:52:29 +00:00
stats [sanitizer] Build failures fixes post D45457 2018-04-16 16:58:34 +00:00
tsan tsan: disable trace switching after multithreaded fork 2018-04-30 07:28:45 +00:00
ubsan [sanitizer] Fix OSX build failure post D45457 2018-04-16 18:17:22 +00:00
ubsan_minimal [ubsan-minimal] Fix the ubsan_minimal debug build (COMPILER_RT_DEBUG=1) on macOS. 2018-02-24 13:14:44 +00:00
xray [XRay][compiler-rt] Support string-based config for Basic mode. 2018-05-04 06:27:53 +00:00
CMakeLists.txt [cmake] Add a separate CMake var to control profile runtime 2017-10-02 05:03:55 +00:00