brintos

brintos / llvm-project-archived public Read only

0
0
Text · 505 B · 4fc1594 Raw
12 lines · plain
1## Make sure inlining from a unit with debug info into unit without2## debug info does not cause a crash.3 4RUN: %clangxx %cxxflags %S/Inputs/inlined.cpp -c -o %t.inlined.o5RUN: %clangxx %cxxflags %S/Inputs/inlinee.cpp -c -o %t.inlinee.o -g6RUN: %clangxx %cxxflags %t.inlined.o %t.inlinee.o -o %t7 8RUN: llvm-bolt %t -o %t.bolt --update-debug-sections --reorder-blocks=reverse \9RUN:   --inline-small-functions --force-inline=main | FileCheck %s10 11CHECK-NOT: BOLT: 0 out of {{.*}} functions were overwritten12