File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 1414# RUN: - nostartfiles \
1515# RUN: - Wl ,-- script=%p/Inputs/debug - fission - script.txt \
1616# RUN: %t.o - o %t.exe
17+ # RUN: mkdir - p %t.dwarf - output
1718# RUN: llvm - bolt %t.exe \
1819# RUN: -- reorder - blocks=reverse \
1920# RUN: -- update - debug - sections \
20- # RUN: -- dwarf - output - path=%T \
21+ # RUN: -- dwarf - output - path=%t.dwarf - output \
2122# RUN: -- always - convert - to - ranges=true \
2223# RUN: - o %t.bolt. 1 .exe 2 >& 1 | FileCheck %s
2324# RUN: llvm - dwarfdump -- show - form -- verbose -- debug - ranges %t.bolt. 1 .exe &> %tAddrIndexTest
24- # RUN: not llvm - dwarfdump -- show - form -- verbose -- debug - info %T /debug - fission - simple - convert.dwo0.dwo >> %tAddrIndexTest
25+ # RUN: not llvm - dwarfdump -- show - form -- verbose -- debug - info %t.dwarf - output /debug- fission - simple - convert.dwo0.dwo >> %tAddrIndexTest
2526# RUN: c at %tAddrIndexTest | FileCheck %s -- check - prefix=CHECK - DWO - DWO
2627# RUN: llvm - dwarfdump -- show - form -- verbose -- debug - addr %t.bolt. 1 .exe | FileCheck %s -- check - prefix=CHECK - ADDR - SEC
2728
Original file line number Diff line number Diff line change 1414# RUN: - nostartfiles \
1515# RUN: - Wl ,-- script=%p/Inputs/debug - fission - script.txt \
1616# RUN: %t.o - o %t.exe
17+ # RUN: mkdir - p %t.dwarf - output
1718# RUN: llvm - bolt %t.exe \
1819# RUN: -- reorder - blocks=reverse \
1920# RUN: -- update - debug - sections \
20- # RUN: -- dwarf - output - path=%T \
21+ # RUN: -- dwarf - output - path=%t.dwarf - output \
2122# RUN: - o %t.bolt. 1 .exe 2 >& 1 | FileCheck %s
2223# RUN: llvm - dwarfdump -- show - form -- verbose -- debug - ranges %t.bolt. 1 .exe &> %tAddrIndexTest
23- # RUN: llvm - dwarfdump -- show - form -- verbose -- debug - info %T /debug - fission - simple.dwo0.dwo >> %tAddrIndexTest
24+ # RUN: llvm - dwarfdump -- show - form -- verbose -- debug - info %t.dwarf - output /debug- fission - simple.dwo0.dwo >> %tAddrIndexTest
2425# RUN: c at %tAddrIndexTest | FileCheck %s -- check - prefix=CHECK - DWO - DWO
2526# RUN: llvm - dwarfdump -- show - form -- verbose -- debug - addr %t.bolt. 1 .exe | FileCheck %s -- check - prefix=CHECK - ADDR - SEC
2627
Original file line number Diff line number Diff line change 11## Make sure inlining from a unit with debug info into unit without
22## debug info does not cause a crash.
33
4- RUN: %clangxx %cxxflags %S/Inputs/inlined.cpp -c -o %T/ inlined.o
5- RUN: %clangxx %cxxflags %S/Inputs/inlinee.cpp -c -o %T/ inlinee.o -g
6- RUN: %clangxx %cxxflags %T/ inlined.o %T/ inlinee.o -o %t
4+ RUN: %clangxx %cxxflags %S/Inputs/inlined.cpp -c -o %t. inlined.o
5+ RUN: %clangxx %cxxflags %S/Inputs/inlinee.cpp -c -o %t. inlinee.o -g
6+ RUN: %clangxx %cxxflags %t. inlined.o %t. inlinee.o -o %t
77
88RUN: llvm-bolt %t -o %t.bolt --update-debug-sections --reorder-blocks=reverse \
99RUN: --inline-small-functions --force-inline=main | FileCheck %s
You can’t perform that action at this time.
0 commit comments