aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend_debug.cpp
diff options
context:
space:
mode:
authorThomas la Cour <tlc@hyrtwol.dk>2024-07-25 10:05:41 +0200
committerThomas la Cour <tlc@hyrtwol.dk>2024-07-25 10:05:41 +0200
commit9d67d12d22a0af3f9a70fc1f5d4cbc9ad4f4f09d (patch)
tree47e4fb3fe9f98030195c91851052fa833821137b /src/llvm_backend_debug.cpp
parent3627a51dafd259ff5ff2c1bab295ad51625695c7 (diff)
parent9e82ae10ac83b09436f63300382ae926058a0cc8 (diff)
Merge remote-tracking branch 'upstream/master' into sys-windows-2
# Conflicts: # core/sys/windows/shell32.odin
Diffstat (limited to 'src/llvm_backend_debug.cpp')
-rw-r--r--src/llvm_backend_debug.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/llvm_backend_debug.cpp b/src/llvm_backend_debug.cpp
index f1ace5f06..c896f889d 100644
--- a/src/llvm_backend_debug.cpp
+++ b/src/llvm_backend_debug.cpp
@@ -1187,6 +1187,7 @@ gb_internal void add_debug_info_for_global_constant_from_entity(lbGenerator *gen
if (USE_SEPARATE_MODULES) {
m = lb_module_of_entity(gen, e);
}
+ GB_ASSERT(m != nullptr);
if (is_type_integer(e->type)) {
ExactValue const &value = e->Constant.value;