fix debug info and add it all to the llvm backend

This commit is contained in:
Brendan Hansknecht 2023-12-04 11:39:12 -08:00
parent 7b1c009ca2
commit 496cd6710a
No known key found for this signature in database
GPG key ID: 0EA784685083E75B
6 changed files with 8 additions and 22 deletions

View file

@ -713,9 +713,6 @@ pub fn expect_mono_module_to_dylib<'a>(
env.dibuilder.finalize();
// we don't use the debug info, and it causes weird errors.
module.strip_debug_info();
// Uncomment this to see the module's un-optimized LLVM instruction output:
// env.module.print_to_stderr();