llvm-project/llvm/test/CodeGen/Generic/opt-codegen-no-target-machine.ll
paperchalice 9bd32d78a9
[CodeGen] Update DwarfEHPreparePass references in CodeGenPassBuilder.h (#74068)
Forgot to update the counterpart in `CodeGenPassBuilder.h`. Also Rename `dwarfehprepare` -> `dwarf-eh-prepare`.
2023-12-11 09:26:01 +08:00

4 lines
197 B
LLVM

; RUN: not --crash opt %s -dwarf-eh-prepare -o - 2>&1 | FileCheck %s
; CHECK: Trying to construct TargetPassConfig without a target machine. Scheduling a CodeGen pass without a target triple set?