brintos

brintos / llvm-project-archived public Read only

0
0
Text · 565 B · 4110c79 Raw
25 lines · plain
1## Check that llvm-bolt doesn't choke on symbols defined in nobits sections.2 3# RUN: llvm-mc -filetype=obj -triple x86_64-unknown-unknown %s -o %t.o4# RUN: %clang %cflags %t.o -o %t.exe5# RUN: llvm-bolt %t.exe -o %t6#7 8  .type            symbol_in_nobits,@object9  .section        .my.nobits.section,"awx",@nobits10  .globl           symbol_in_nobits11  .p2align         4, 0x012symbol_in_nobits:13  .zero  0x10000014  .size   symbol_in_nobits, 0x10000015 16	.text17  .globl main18  .type main, %function19main:20	.cfi_startproc21.LBB06:22  retq23	.cfi_endproc24.size main, .-main25