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 14
14
# RUN: - nostartfiles \
15
15
# RUN: - Wl ,-- script=%p/Inputs/debug - fission - script.txt \
16
16
# RUN: %t.o - o %t.exe
17
+ # RUN: mkdir - p %t.dwarf - output
17
18
# RUN: llvm - bolt %t.exe \
18
19
# RUN: -- reorder - blocks=reverse \
19
20
# RUN: -- update - debug - sections \
20
- # RUN: -- dwarf - output - path=%T \
21
+ # RUN: -- dwarf - output - path=%t.dwarf - output \
21
22
# RUN: -- always - convert - to - ranges=true \
22
23
# RUN: - o %t.bolt. 1 .exe 2 >& 1 | FileCheck %s
23
24
# 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
25
26
# RUN: c at %tAddrIndexTest | FileCheck %s -- check - prefix=CHECK - DWO - DWO
26
27
# RUN: llvm - dwarfdump -- show - form -- verbose -- debug - addr %t.bolt. 1 .exe | FileCheck %s -- check - prefix=CHECK - ADDR - SEC
27
28
Original file line number Diff line number Diff line change 14
14
# RUN: - nostartfiles \
15
15
# RUN: - Wl ,-- script=%p/Inputs/debug - fission - script.txt \
16
16
# RUN: %t.o - o %t.exe
17
+ # RUN: mkdir - p %t.dwarf - output
17
18
# RUN: llvm - bolt %t.exe \
18
19
# RUN: -- reorder - blocks=reverse \
19
20
# RUN: -- update - debug - sections \
20
- # RUN: -- dwarf - output - path=%T \
21
+ # RUN: -- dwarf - output - path=%t.dwarf - output \
21
22
# RUN: - o %t.bolt. 1 .exe 2 >& 1 | FileCheck %s
22
23
# 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
24
25
# RUN: c at %tAddrIndexTest | FileCheck %s -- check - prefix=CHECK - DWO - DWO
25
26
# RUN: llvm - dwarfdump -- show - form -- verbose -- debug - addr %t.bolt. 1 .exe | FileCheck %s -- check - prefix=CHECK - ADDR - SEC
26
27
Original file line number Diff line number Diff line change 1
1
## Make sure inlining from a unit with debug info into unit without
2
2
## debug info does not cause a crash.
3
3
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
7
7
8
8
RUN: llvm-bolt %t -o %t.bolt --update-debug-sections --reorder-blocks=reverse \
9
9
RUN: --inline-small-functions --force-inline=main | FileCheck %s
You can’t perform that action at this time.
0 commit comments