llvm-project/bolt/test/X86/inlined-function-mixed.test
Sayhaan Siddiqui 11791ae7b0
[BOLT][DWARF][NFC] Added double escape characters (#93348)
Added double escape characters to lines that describe a test.
2024-05-31 15:14:37 -07:00

12 lines
505 B
Plaintext

## Make sure inlining from a unit with debug info into unit without
## debug info does not cause a crash.
RUN: %clangxx %cxxflags %S/Inputs/inlined.cpp -c -o %T/inlined.o
RUN: %clangxx %cxxflags %S/Inputs/inlinee.cpp -c -o %T/inlinee.o -g
RUN: %clangxx %cxxflags %T/inlined.o %T/inlinee.o -o %t
RUN: llvm-bolt %t -o %t.bolt --update-debug-sections --reorder-blocks=reverse \
RUN: --inline-small-functions --force-inline=main | FileCheck %s
CHECK-NOT: BOLT: 0 out of {{.*}} functions were overwritten