You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LLVM Error:
Global is external, but doesn't have external or weak linkage!
ptr @imgui.spall_enter-28467
Global is external, but doesn't have external or weak linkage!
ptr @imgui.spall_exit-28468
A very weird thing also happens when using a when statement, doing this:
ENABLE_PROFILER :: #config(ENABLE_PROFILER, true)
when ENABLE_PROFILER {
// Same 2 functions as above...
}
Doing this somehow completely fixes the issue.
Steps to Reproduce
Copying the context code and trying to use it should be enough
Adding @instrumentation_enter and exit attributes on a non-global should probably be a compile error
I agree, but the interaction with when is really weird, how does doing conditional compilation change the inner procedure in some way that might cause it to somehow function properly?
Adding @instrumentation_enter and exit attributes on a non-global should probably be a compile error
I agree, but the interaction with when is really weird, how does doing conditional compilation change the inner procedure in some way that might cause it to somehow function properly?
Context
In a utility function to be able to use the Spall debugger:
Expected Behavior
Proper compilation or a odin compiler error.
Current Behavior
The compiler crashes with the following message:
A very weird thing also happens when using a
when
statement, doing this:Doing this somehow completely fixes the issue.
Steps to Reproduce
Copying the context code and trying to use it should be enough
Odin report output
The text was updated successfully, but these errors were encountered: