Go to file
Jonathan Metzman 0b94e88007 [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
2018-10-12 18:11:47 +00:00
clang Revert r344375 "[Driver] check for exit code from SIGPIPE" 2018-10-12 18:08:11 +00:00
clang-tools-extra [clangd] NFC fix semicolon warning 2018-10-12 17:47:43 +00:00
compiler-rt [SanitizerCoverage] Prevent /OPT:REF from stripping constructors 2018-10-12 18:11:47 +00:00
debuginfo-tests Revert "(Retry) Add a basic integration test for C++ smart pointers" 2018-08-20 19:53:33 +00:00
libclc configure: Rework support for gfx9+ devices that were added post LLVM 3.9 2018-09-15 22:02:01 +00:00
libcxx [NFC][libc++] Fix broken link in comment 2018-10-12 17:12:41 +00:00
libcxxabi Override libcxxabi's .clang-format in the demangle directory 2018-10-11 23:30:56 +00:00
libunwind [CMake] Link to compiler-rt if LIBUNWIND_USE_COMPILER_RT is ON. 2018-10-08 18:35:00 +00:00
lld Better support for POSIX paths in PDBs. 2018-10-12 17:26:19 +00:00
lldb [lldbsuite] Fix the filecheck functionality to work with Python 3 2018-10-12 17:56:01 +00:00
llgo Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
llvm [SanitizerCoverage] Prevent /OPT:REF from stripping constructors 2018-10-12 18:11:47 +00:00
openmp [OpenMP] Convert KMP_DYNAMIC_LIB to a 0 or 1 guard everywhere 2018-10-05 17:59:39 +00:00
parallel-libs Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
polly Fix another error related to YAML quoting. 2018-10-12 17:28:39 +00:00
README.md

README.md

Low Level Virtual Machine (LLVM)

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.