This patch reverts patch "DWARFv5 default: Switch bolt tests to use DWARFv4 since Bolt doesn't support v5 yet" and places the -gdwarf-4 flag to the global cflags config file. Reviewed By: Amir Differential Revision: https://reviews.llvm.org/D118283
12 lines
479 B
Plaintext
12 lines
479 B
Plaintext
# Make sure inlining from a unit with debug info into unit without
|
|
# debug info does not cause a crash.
|
|
|
|
RUN: %clangxx %S/Inputs/inlined.cpp -c -o %T/inlined.o
|
|
RUN: %clangxx %cxxflags %S/Inputs/inlinee.cpp -c -o %T/inlinee.o -g
|
|
RUN: %clangxx %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
|