brintos

brintos / llvm-project-archived public Read only

0
0
Text · 451 B · 3392dd5 Raw
14 lines · plain
1## This test reproduces the issue where a fragment has the same address as2## parent function.3# RUN: llvm-mc --filetype=obj --triple x86_64-unknown-unknown %s -o %t.o4# RUN: %clang %cflags %t.o -o %t5# RUN: llvm-bolt %t -o %t.out 2>&1 | FileCheck %s6# CHECK: BOLT-WARNING: fragment maps to the same function as parent: main/1(*2)7.type main, @function8.type main.cold, @function9main.cold:10main:11  ret12.size main, .-main13.size main.cold, .-main.cold14