27 lines · plain
1// REQUIRES: x86-registered-target2// RUN: %clang -cc1as -triple x86_64-pc-linux-gnu %s -filetype obj -o %t1 -split-dwarf-output %t23// RUN: llvm-objdump -s %t1 | FileCheck --check-prefix=O %s4// RUN: llvm-objdump -s %t2 | FileCheck --check-prefix=DWO %s5 6// O-NOT: Contents of section7// O: Contents of section .strtab:8// O-NOT: Contents of section9// O: Contents of section .text:10// O-NEXT: 0000 c311// O-NEXT: Contents of section .symtab:12// O-NOT: Contents of section13.globl main14main:15.Ltmp1:16ret17.Ltmp2:18 19// DWO-NOT: Contents of section20// DWO: Contents of section .strtab:21// DWO-NOT: Contents of section22// DWO: Contents of section .foo.dwo:23// DWO-NEXT: 0000 0100000024// DWO-NOT: Contents of section25.section .foo.dwo26.long .Ltmp2-.Ltmp127