bolt/deps/llvm-18.1.8/llvm/test/MC/ELF/dwo-restrict-relocs.s

11 lines
361 B
ArmAsm
Raw Normal View History

2025-02-14 19:21:04 +01:00
// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o /dev/null -split-dwarf-file %t2 2>&1 | FileCheck %s
// CHECK: error: A relocation may not refer to a dwo section
.quad .foo.dwo
.section .foo.dwo
// CHECK: error: A dwo section may not contain relocations
.quad .text
// CHECK: error: A dwo section may not contain relocations
.quad .foo.dwo