We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CodegenContext::create_diag_handler
CodegenContext::create_dcx
1 parent 590e0d9 commit a5c63aeCopy full SHA for a5c63ae
src/back/lto.rs
@@ -183,7 +183,7 @@ pub(crate) fn run_fat(
183
modules: Vec<FatLtoInput<GccCodegenBackend>>,
184
cached_modules: Vec<(SerializedModule<ModuleBuffer>, WorkProduct)>,
185
) -> Result<LtoModuleCodegen<GccCodegenBackend>, FatalError> {
186
- let diag_handler = cgcx.create_diag_handler();
+ let diag_handler = cgcx.create_dcx();
187
let lto_data = prepare_lto(cgcx, &diag_handler)?;
188
/*let symbols_below_threshold =
189
lto_data.symbols_below_threshold.iter().map(|c| c.as_ptr()).collect::<Vec<_>>();*/
0 commit comments