diff options
| author | Jonathan Metzman <metzman@chromium.org> | 2018-10-12 18:11:47 +0000 |
|---|---|---|
| committer | Jonathan Metzman <metzman@chromium.org> | 2018-10-12 18:11:47 +0000 |
| commit | 0b94e880073e3f37fb1df2b31733b2b45b2d8670 (patch) | |
| tree | 541888adeb4229e555c4fb56fc73b038e1289d2d /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | f45bbd4c1275fd33427c3e9a966b9e41bb173514 (diff) | |
[SanitizerCoverage] Prevent /OPT:REF from stripping constructors
Summary:
Linking with the /OPT:REF linker flag when building COFF files causes
the linker to strip SanitizerCoverage's constructors. Prevent this by
giving the constructors WeakODR linkage and by passing the linker a
directive to include sancov.module_ctor.
Include a test in compiler-rt to verify libFuzzer can be linked using
/OPT:REF
Reviewers: morehouse, rnk
Reviewed By: morehouse, rnk
Subscribers: rnk, morehouse, hiraditya
Differential Revision: https://reviews.llvm.org/D52119
llvm-svn: 344391
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
