/// Add FSAFDO discriminators.
bool AddFSDiscriminator = false;
- /// Use opaque pointer types. Used to call LLVMContext::setOpaquePointers
- /// unless already set by the `-opaque-pointers` commandline option.
- bool OpaquePointers = true;
-
/// If this field is set, LTO will write input file paths and symbol
/// resolutions here in llvm-lto2 command line flag format. This can be
/// used for testing and for running the LTO pipeline outside of the linker
enableDebugTypeODRUniquing();
setDiagnosticHandler(
std::make_unique<LTOLLVMDiagnosticHandler>(&DiagHandler), true);
- setOpaquePointers(C.OpaquePointers);
}
DiagnosticHandlerFunction DiagHandler;
};