aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorJianzhou Zhao <jianzhouzh@google.com>2021-06-29 06:17:00 +0000
committerJianzhou Zhao <jianzhouzh@google.com>2021-06-29 20:32:39 +0000
commitae6648cee01bc5c390b74dacd1851cf5df74599b (patch)
tree514cb14d63ed2b6af895d59f2249ca9367bac1e5 /llvm/lib/CodeGen/MachineFunction.cpp
parent485cc55edfb875628e19bb6d9de4706af2865d3e (diff)
downloadllvm-ae6648cee01bc5c390b74dacd1851cf5df74599b.zip
llvm-ae6648cee01bc5c390b74dacd1851cf5df74599b.tar.gz
llvm-ae6648cee01bc5c390b74dacd1851cf5df74599b.tar.bz2
[dfsan] Expose dfsan_get_track_origins to get origin tracking status
This allows application code checks if origin tracking is on before printing out traces. -dfsan-track-origins can be 0,1,2. The current code only distinguishes 1 and 2 in compile time, but not at runtime. Made runtime distinguish 1 and 2 too. Reviewed By: browneee Differential Revision: https://reviews.llvm.org/D105128
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions