Files
clang-p2996/lld/test/ELF/dtrace-r.test
Rafael Espindola 0b034d6f25 Fix -r when the input has a relocation with no symbol.
Should fix a few freebsd packages with dtrace.

llvm-svn: 293177
2017-01-26 14:09:18 +00:00

9 lines
226 B
Plaintext

RUN: ld.lld -r -o %t.o %p/Inputs/dtrace-r.o
RUN: llvm-readobj -r %t.o | FileCheck %s
CHECK: Relocations [
CHECK-NEXT: Section ({{.*}}) .rela.text {
CHECK-NEXT: 0x0 R_X86_64_NONE - 0x0
CHECK-NEXT: }
CHECK-NEXT: ]