
If the module summary references a global variable that does not exist, throw a nice error instead of asserting. Fixes https://github.com/llvm/llvm-project/issues/74726.
5 lines
135 B
LLVM
5 lines
135 B
LLVM
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
|
|
|
|
; CHECK: Reference to undefined global "does_not_exist"
|
|
^0 = gv: (name: "does_not_exist")
|