Only add custom section for Windows (currently)
This commit is contained in:
1 parent
e0125ccec2
commit
4274dfc5e2
1 file changed
+2
-1
@@ -2694,7 +2694,8 @@ gb_internal bool lb_generate_code(lbGenerator *gen) {
|
|||||||
lb_add_debug_info_for_global_constant_from_entity(gen, e);
|
lb_add_debug_info_for_global_constant_from_entity(gen, e);
|
||||||
}
|
}
|
||||||
|
|
||||||
{ // Custom `.raddbg` section for its debugger
|
// Custom `.raddbg` section for its debugger
|
||||||
|
if (build_context.metrics.os == TargetOs_windows) {
|
||||||
LLVMModuleRef m = default_module->mod;
|
LLVMModuleRef m = default_module->mod;
|
||||||
LLVMContextRef c = default_module->ctx;
|
LLVMContextRef c = default_module->ctx;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user