mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-20 13:25:19 +00:00
Only add custom section for Windows (currently)
This commit is contained in:
@@ -2694,7 +2694,8 @@ gb_internal bool lb_generate_code(lbGenerator *gen) {
|
||||
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;
|
||||
LLVMContextRef c = default_module->ctx;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user