aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2020-05-27 10:27:44 -0700
committerJonas Devlieghere <jonas@devlieghere.com>2020-05-27 10:35:43 -0700
commite7f1067ad6f116ff1e4bfc0f7fe1977f172b0ea0 (patch)
tree5c7b945c6a6bf055c1cd17f746eeb0ee187f8639 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent07cd19efa2a63b01aea9b516a7a003cb7f750a12 (diff)
downloadllvm-e7f1067ad6f116ff1e4bfc0f7fe1977f172b0ea0.zip
llvm-e7f1067ad6f116ff1e4bfc0f7fe1977f172b0ea0.tar.gz
llvm-e7f1067ad6f116ff1e4bfc0f7fe1977f172b0ea0.tar.bz2
[lldb/Reproducers] Skip API logging in the DUMMY macro
The purpose of the LLDB_RECORD_DUMMY macro is twofold: it is used in functions that take arguments that we don't know how to serialize (e.g. void*) and it's used by function where we want to avoid doing excessive work because they can be called from a signal handler (e.g. setTerminalWidth). To support the latter case, I've disabled API logging form the Recorder ctor used by the DUMMY macro. This ensures we don't allocate memory when called from a signal handler.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions