Closed
Description
Description
#68985 introduced a way to load an LLVM pass from a dynamic library into the compiler. Unfortunately the test case for this is subtly broken as it links against the (static) library libLLVMSupport.a
, which is already linked into the compiler binary, and so we end up with ODR violations, which are picked up by ASAN; in particular, the ASAN build is complaining about llvm::circular_raw_ostream
.
Reproduction
Expected behavior
The test case should pass.
Environment
Additional information
rdar://140319292