diff --git a/llvm/include/llvm/LTO/Config.h b/llvm/include/llvm/LTO/Config.h index 7a746592c9fcd7..e3c25117a020f0 100644 --- a/llvm/include/llvm/LTO/Config.h +++ b/llvm/include/llvm/LTO/Config.h @@ -179,10 +179,6 @@ struct Config { /// 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 @@ -298,7 +294,6 @@ struct LTOLLVMContext : LLVMContext { enableDebugTypeODRUniquing(); setDiagnosticHandler( std::make_unique(&DiagHandler), true); - setOpaquePointers(C.OpaquePointers); } DiagnosticHandlerFunction DiagHandler; };