From 30788322d85e276ed682a495da6f80ef6d66ae7d Mon Sep 17 00:00:00 2001 From: Zentrik Date: Sun, 21 Jul 2024 13:55:47 +0100 Subject: [PATCH] Potential hacky fix for 64 bit windows --- src/jitlayers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jitlayers.cpp b/src/jitlayers.cpp index fbd8d1cd6c8f4..095fba3a053c1 100644 --- a/src/jitlayers.cpp +++ b/src/jitlayers.cpp @@ -2260,7 +2260,7 @@ static void jl_decorate_module(Module &M) { // This used to be GV, but with https://reviews.llvm.org/D100944 we no longer can emit GV into `.text` // TODO: The data is set in debuginfo.cpp but it should be okay to actually emit it here. M.appendModuleInlineAsm("\ - .section .text \n\ + .section .ltext,\"ax\",@progbits \n\ .type __UnwindData,@object \n\ .p2align 2, 0x90 \n\ __UnwindData: \n\