From ab630c052bac9ec774059bc63b78f8106f6483c3 Mon Sep 17 00:00:00 2001 From: Jeremy <51220084+jeremy-rifkin@users.noreply.github.com> Date: Thu, 5 Oct 2023 09:55:07 -0400 Subject: [PATCH] Update has_stackwalk --- cmake/has_stackwalk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/has_stackwalk.cpp b/cmake/has_stackwalk.cpp index eff05b9..bd9127c 100644 --- a/cmake/has_stackwalk.cpp +++ b/cmake/has_stackwalk.cpp @@ -43,7 +43,7 @@ int main() { "label:\n\t" "mov{l %%ebp, %[cEbp] | %[cEbp], ebp};\n\t" "mov{l %%esp, %[cEsp] | %[cEsp], esp};\n\t" - "mov{l $label, %%eax | eax, label};\n\t" + "mov{l $label, %%eax | eax, OFFSET label};\n\t" "mov{l %%eax, %[cEip] | %[cEip], eax};\n\t" : [cEbp] "=r" (context.Ebp), [cEsp] "=r" (context.Esp),