aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WasmObjectFile.cpp
diff options
context:
space:
mode:
authorDokyung Song <dokyungs@google.com>2020-07-16 20:26:03 +0000
committerMatt Morehouse <mascasa@google.com>2020-07-16 20:26:35 +0000
commitf78d9fceea736d431e9e3cbca291e3909e3aa46d (patch)
treeb37be5eed9816fb5d162ba438a82fafdc5f2f382 /llvm/lib/Object/WasmObjectFile.cpp
parente04fe9aefd4b95e0f0d93b14be28aa1ae2f42258 (diff)
downloadllvm-f78d9fceea736d431e9e3cbca291e3909e3aa46d.zip
llvm-f78d9fceea736d431e9e3cbca291e3909e3aa46d.tar.gz
llvm-f78d9fceea736d431e9e3cbca291e3909e3aa46d.tar.bz2
[libFuzzer] Link libFuzzer's own interceptors when other compiler runtimes are not linked.
Summary: libFuzzer intercepts certain library functions such as memcmp/strcmp by defining weak hooks. Weak hooks, however, are called only when other runtimes such as ASan is linked. This patch defines libFuzzer's own interceptors, which is linked into the libFuzzer executable when other runtimes are not linked, i.e., when -fsanitize=fuzzer is given, but not others. Reviewers: kcc, morehouse, hctim Reviewed By: morehouse, hctim Subscribers: krytarowski, mgorny, cfe-commits, #sanitizers Tags: #clang, #sanitizers Differential Revision: https://reviews.llvm.org/D83494
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions