Skip to content

Commit 7927581

Browse files
author
Kevin Frei
committed
Updated tests for smaller main.c
1 parent 6e09486 commit 7927581

19 files changed

+58
-151
lines changed

lldb/test/Shell/Debuginfod/Inputs/bin-normal.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Sections:
5959
AddressAlign: 0x4
6060
Notes:
6161
- Name: GNU
62-
Desc: 725D47B7EE964F615C841A04712D6F43175F9D8D
62+
Desc: 6E10CF17A4D84D5622C67A2FD38282BF121C67D5
6363
Type: NT_PRPSINFO
6464
- Name: .text
6565
Type: SHT_PROGBITS
@@ -94,19 +94,19 @@ Sections:
9494
Flags: [ SHF_MERGE, SHF_STRINGS ]
9595
AddressAlign: 0x1
9696
EntSize: 0x1
97-
Content: 46616365626F6F6B20636C616E672076657273696F6E2031352E302E302028676974406769746875622E636F6D3A6B6576696E667265692F6C6C766D2E67697420663262383163623536396430363332613065623066643531373232643732356162313931616637322900
97+
Content: 46616365626F6F6B20636C616E672076657273696F6E2031352E302E302028676974406769746875622E636F6D3A6B6576696E667265692F6C6C766D2E67697420633234306534393034343037643064393337383633666533306332656265373764633639333232352900
9898
- Name: .debug_info
9999
Type: SHT_PROGBITS
100100
AddressAlign: 0x1
101-
Content: 9A000000050001080000000001001D0001080000000000000002016400000008000000022D000000004C02A1000339000000043D0000000100050306010604080707012800000001560500447E0000000802917C0800447E00000008029170090044820000000009023400000001560700480A02770809004C9100000000050605040B870000000B8C0000000C390000000387000000043D000000010000
101+
Content: 9A000000050001080000000001001D0001080000000000000002016400000008000000022D000000000B02A1000339000000043D0000000100050306010604080707012800000001560500037E0000000802917C0800037E00000008029170090003820000000009023400000001560700070A02770809000B9100000000050605040B870000000B8C0000000C390000000387000000043D000000010000
102102
- Name: .debug_abbrev
103103
Type: SHT_PROGBITS
104104
AddressAlign: 0x1
105105
Content: 011101252513050325721710171B25111B12067317000002340049133A0B3B0B02180000030101491300000421004913370B000005240003253E0B0B0B000006240003250B0B3E0B0000072E01111B1206401803253A0B3B0B271949133F190000080500021803253A0B3B0B49130000092E01111B1206401803253A0B3B0B27193F1900000A3400021803253A0B3B0B491300000B0F00491300000C26004913000000
106106
- Name: .debug_line
107107
Type: SHT_PROGBITS
108108
AddressAlign: 0x1
109-
Content: 7B0000000500080037000000010101FB0E0D00010101010000000100000101011F010000000003011F020F051E013D00000000AA7BC59AF617547916B47B73E78D55160400000902001040000000000003C30001050B0AAD0510063C05183C0526E405153C05030B3C050006A1050F0ABE050BBB0503065806770210000101
109+
Content: 780000000500080037000000010101FB0E0D00010101010000000100000101011F010000000003011F020F051E013D000000002F0CB321CF64CEDC7E77B5861A0075A20400000902001040000000000014050B0AAD0510063C05183C0526E405153C05030B3C050006A1050F0ABE050BBB0503065806770210000101
110110
- Name: .debug_line_str
111111
Type: SHT_PROGBITS
112112
Flags: [ SHF_MERGE, SHF_STRINGS ]
@@ -191,7 +191,7 @@ Symbols:
191191
Value: 0x404000
192192
DWARF:
193193
debug_str:
194-
- 'Facebook clang version 15.0.0 ([email protected]:kevinfrei/llvm.git f2b81cb569d0632a0eb0fd51722d725ab191af72)'
194+
- 'Facebook clang version 15.0.0 ([email protected]:kevinfrei/llvm.git c240e4904407d0d937863fe30c2ebe77dc693225)'
195195
- main.c
196196
- '/home/freik/llvm-sand/llvm/lldb/test/Shell/Debuginfod/Inputs'
197197
- char

lldb/test/Shell/Debuginfod/Inputs/bin-split-dwp.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Sections:
2121
Flags: [ SHF_EXCLUDE, SHF_MERGE, SHF_STRINGS ]
2222
AddressAlign: 0x1
2323
EntSize: 0x1
24-
Content: 63686172005F5F41525241595F53495A455F545950455F5F0066756E6300696E74005F7374617274006172676300617267760046616365626F6F6B20636C616E672076657273696F6E2031352E302E302028676974406769746875622E636F6D3A6B6576696E667265692F6C6C766D2E676974206632623831636235363964303633326130656230666435313732326437323561623139316166373229006D61696E2E630067656E2F62696E2D73706C69742E64776F00
24+
Content: 63686172005F5F41525241595F53495A455F545950455F5F0066756E6300696E74005F7374617274006172676300617267760046616365626F6F6B20636C616E672076657273696F6E2031352E302E302028676974406769746875622E636F6D3A6B6576696E667265692F6C6C766D2E676974206332343065343930343430376430643933373836336665333063326562653737646336393332323529006D61696E2E630067656E2F62696E2D73706C69742E64776F00
2525
- Name: .debug_str_offsets.dwo
2626
Type: SHT_PROGBITS
2727
Flags: [ SHF_EXCLUDE ]
@@ -31,7 +31,7 @@ Sections:
3131
Type: SHT_PROGBITS
3232
Flags: [ SHF_EXCLUDE ]
3333
AddressAlign: 0x1
34-
Content: 8D00000005000508000000008094E89A08DB62C101071D0008090224000000004C02A10003300000000434000000010005000601060108070701280000000156020044710000000802917C05004471000000080291700600447500000000090001560400480A02770806004C8400000000050305040B7A0000000B7F0000000C30000000037A0000000434000000010000
34+
Content: 8D00000005000508000000008094E89A08DB62C101071D0008090224000000000B02A10003300000000434000000010005000601060108070701280000000156020003710000000802917C05000371000000080291700600037500000000090001560400070A02770806000B8400000000050305040B7A0000000B7F0000000C30000000037A0000000434000000010000
3535
- Name: .debug_cu_index
3636
Type: SHT_PROGBITS
3737
AddressAlign: 0x1

lldb/test/Shell/Debuginfod/Inputs/bin-split-stripped.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Sections:
5959
AddressAlign: 0x4
6060
Notes:
6161
- Name: GNU
62-
Desc: 82B2C35129DAB19AD58F3DD0F426BDB0CC8AA094
62+
Desc: 14FE1776C0055EA25EFD58D934BB305FBBACDAC3
6363
Type: NT_PRPSINFO
6464
- Name: .text
6565
Type: SHT_PROGBITS
@@ -94,7 +94,7 @@ Sections:
9494
Flags: [ SHF_MERGE, SHF_STRINGS ]
9595
AddressAlign: 0x1
9696
EntSize: 0x1
97-
Content: 46616365626F6F6B20636C616E672076657273696F6E2031352E302E302028676974406769746875622E636F6D3A6B6576696E667265692F6C6C766D2E67697420663262383163623536396430363332613065623066643531373232643732356162313931616637322900
97+
Content: 46616365626F6F6B20636C616E672076657273696F6E2031352E302E302028676974406769746875622E636F6D3A6B6576696E667265692F6C6C766D2E67697420633234306534393034343037643064393337383633666533306332656265373764633639333232352900
9898
Symbols:
9999
- Name: .note.gnu.build-id
100100
Type: STT_SECTION

lldb/test/Shell/Debuginfod/Inputs/bin-split.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Sections:
5959
AddressAlign: 0x4
6060
Notes:
6161
- Name: GNU
62-
Desc: 82B2C35129DAB19AD58F3DD0F426BDB0CC8AA094
62+
Desc: 14FE1776C0055EA25EFD58D934BB305FBBACDAC3
6363
Type: NT_PRPSINFO
6464
- Name: .text
6565
Type: SHT_PROGBITS
@@ -94,7 +94,7 @@ Sections:
9494
Flags: [ SHF_MERGE, SHF_STRINGS ]
9595
AddressAlign: 0x1
9696
EntSize: 0x1
97-
Content: 46616365626F6F6B20636C616E672076657273696F6E2031352E302E302028676974406769746875622E636F6D3A6B6576696E667265692F6C6C766D2E67697420663262383163623536396430363332613065623066643531373232643732356162313931616637322900
97+
Content: 46616365626F6F6B20636C616E672076657273696F6E2031352E302E302028676974406769746875622E636F6D3A6B6576696E667265692F6C6C766D2E67697420633234306534393034343037643064393337383633666533306332656265373764633639333232352900
9898
- Name: .debug_info
9999
Type: SHT_PROGBITS
100100
AddressAlign: 0x1
@@ -106,7 +106,7 @@ Sections:
106106
- Name: .debug_line
107107
Type: SHT_PROGBITS
108108
AddressAlign: 0x1
109-
Content: 7B0000000500080037000000010101FB0E0D00010101010000000100000101011F010000000003011F020F051E013D00000000AA7BC59AF617547916B47B73E78D55160400000902001040000000000003C30001050B0AAD0510063C05183C0526E405153C05030B3C050006A1050F0ABE050BBB0503065806770210000101
109+
Content: 780000000500080037000000010101FB0E0D00010101010000000100000101011F010000000003011F020F051E013D000000002F0CB321CF64CEDC7E77B5861A0075A20400000902001040000000000014050B0AAD0510063C05183C0526E405153C05030B3C050006A1050F0ABE050BBB0503065806770210000101
110110
- Name: .debug_line_str
111111
Type: SHT_PROGBITS
112112
Flags: [ SHF_MERGE, SHF_STRINGS ]

lldb/test/Shell/Debuginfod/Inputs/bin-stripped.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Sections:
5959
AddressAlign: 0x4
6060
Notes:
6161
- Name: GNU
62-
Desc: 725D47B7EE964F615C841A04712D6F43175F9D8D
62+
Desc: 6E10CF17A4D84D5622C67A2FD38282BF121C67D5
6363
Type: NT_PRPSINFO
6464
- Name: .text
6565
Type: SHT_PROGBITS
@@ -94,7 +94,7 @@ Sections:
9494
Flags: [ SHF_MERGE, SHF_STRINGS ]
9595
AddressAlign: 0x1
9696
EntSize: 0x1
97-
Content: 46616365626F6F6B20636C616E672076657273696F6E2031352E302E302028676974406769746875622E636F6D3A6B6576696E667265692F6C6C766D2E67697420663262383163623536396430363332613065623066643531373232643732356162313931616637322900
97+
Content: 46616365626F6F6B20636C616E672076657273696F6E2031352E302E302028676974406769746875622E636F6D3A6B6576696E667265692F6C6C766D2E67697420633234306534393034343037643064393337383633666533306332656265373764633639333232352900
9898
Symbols:
9999
- Name: .note.gnu.build-id
100100
Type: STT_SECTION

lldb/test/Shell/Debuginfod/Inputs/main.c

Lines changed: 3 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,7 @@
1-
/*
1+
// A script to (re)create the .yaml files is in 'make-inputs'. If you make changes
2+
// you'll need to update the .note.gnu.buildid values in the tests, as the cache names
23

3-
script to (re)create the .yaml files:
4-
---------------------------------------------------------------------------
5-
#!/bin/sh
6-
7-
# I need 4 different scenarios:
8-
# 1 - A stripped binary with it's corresponding unstripped binary:
9-
# 2 - A stripped binary with a corresponding -only-keep-debug symbols file
10-
# 3 - A split binary with it's corresponding DWP file
11-
# 4 - A stripped, split binary with an unstripped binary and a DWP file
12-
13-
# Note: gnu-debuglink has to be added from the yaml2obj output,
14-
# as the CRC's are slightly different from the original binary
15-
16-
mkdir -p gen
17-
mkdir -p run
18-
19-
# First, compile & link the binary itself
20-
${builddir}/bin/clang -g -o gen/main-full.o -O0 -c main.c
21-
ld -nostdlib gen/main-full.o --build-id=sha1 -o gen/main-full
22-
${builddir}/bin/clang -g -gsplit-dwarf -o gen/main-split.o -O0 -c main.c
23-
ld -nostdlib gen/main-split.o --build-id=sha1 -o gen/main-split
24-
${builddir}/bin/llvm-dwp -e gen/main-split -o gen/main-split.dwp
25-
26-
# Scenario 1: main-strip -> main-full (both executable and debuginfo)
27-
${builddir}/bin/llvm-objcopy --strip-debug gen/main-full gen/main-stripped
28-
${builddir}/bin/obj2yaml gen/main-full > main-full.yaml
29-
${builddir}/bin/obj2yaml gen/main-stripped > main-stripped.yaml
30-
${builddir}/bin/yaml2obj main-full.yaml > run/main-full
31-
${builddir}/bin/yaml2obj main-stripped.yaml > run/main-stripped
32-
33-
# Scenario 2: main-nodbg -> main-dbg (debuginfo)
34-
${builddir}/bin/llvm-objcopy --only-keep-debug gen/main-full gen/main-dbg
35-
${builddir}/bin/llvm-objcopy --strip-debug gen/main-full gen/main-nodbg
36-
${builddir}/bin/obj2yaml gen/main-nodbg > main-nodbg.yaml
37-
${builddir}/bin/obj2yaml gen/main-dbg > main-dbg.yaml
38-
${builddir}/bin/yaml2obj main-nodbg.yaml > gen/main-nodbg.tmp
39-
${builddir}/bin/yaml2obj main-dbg.yaml > run/main-dbg
40-
${builddir}/bin/llvm-objcopy gen/main-nodbg.tmp --add-gnu-debuglink=run/main-dbg run/main-nodbg
41-
42-
# Scenario 3: main-split, main-split.dwp (debuginfo)
43-
${builddir}/bin/obj2yaml gen/main-split > main-split.yaml
44-
${builddir}/bin/obj2yaml gen/main-split.dwp > main-dwp.yaml
45-
${builddir}/bin/yaml2obj main-split.yaml > run/main-split
46-
${builddir}/bin/yaml2obj main-dwp.yaml > run/main-split.dwp
47-
48-
# Scenario 4: main-split-nodbg, main-split-dbg (executable), main-split.dwp (debuginfo)
49-
${builddir}/bin/llvm-objcopy --only-keep-debug gen/main-split gen/main-split-dbg
50-
${builddir}/bin/llvm-objcopy --strip-debug gen/main-split gen/main-split-nodbg
51-
${builddir}/bin/obj2yaml gen/main-split-nodbg > main-split-nodbg.yaml
52-
${builddir}/bin/obj2yaml gen/main-split-dbg > main-split-dbg.yaml
53-
${builddir}/bin/yaml2obj main-split-nodbg.yaml > gen/main-split-nodbg.tmp
54-
${builddir}/bin/yaml2obj main-split-dbg.yaml > run/main-split-dbg
55-
${builddir}/bin/llvm-objcopy gen/main-split-nodbg.tmp --add-gnu-debuglink=run/main-split-dbg run/main-split-nodbg
56-
# the main-dwp.yaml should be the same for both Scenario 3 and 4
57-
58-
chmod a+x 'run/'*
59-
60-
---------------------------------------------------------------------------
61-
You need to re-generate the gnu-debuglinks after the yaml2obj step (in the test)
62-
63-
You can find the build id's in the yaml files under "NT_PRPSINFO" from the YAML files
64-
(grep for 'Desc')
65-
66-
*/
67-
68-
int func(int argc, const char **argv) {
69-
return (argc + 1) * (argv[argc][0] + 2);
70-
}
4+
int func(int argc, const char **argv) { return (argc + 1) * (argv[argc][0] + 2); }
715

726
__attribute__((force_align_arg_pointer)) void _start(void) {
737

lldb/test/Shell/Debuginfod/Inputs/make-inputs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
# I need 5 different scenarios:
3+
# Testing 5 different scenarios:
44
# 1 - A stripped binary with it's corresponding unstripped binary:
55
# 2 - A stripped binary with a corresponding --only-keep-debug symbols file
66
# 3 - A split binary with it's corresponding DWP file

lldb/test/Shell/Debuginfod/Inputs/sym-split.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Sections:
5959
AddressAlign: 0x4
6060
Notes:
6161
- Name: GNU
62-
Desc: 82B2C35129DAB19AD58F3DD0F426BDB0CC8AA094
62+
Desc: 14FE1776C0055EA25EFD58D934BB305FBBACDAC3
6363
Type: NT_PRPSINFO
6464
- Name: .text
6565
Type: SHT_NOBITS
@@ -93,7 +93,7 @@ Sections:
9393
Flags: [ SHF_MERGE, SHF_STRINGS ]
9494
AddressAlign: 0x1
9595
EntSize: 0x1
96-
Content: 46616365626F6F6B20636C616E672076657273696F6E2031352E302E302028676974406769746875622E636F6D3A6B6576696E667265692F6C6C766D2E67697420663262383163623536396430363332613065623066643531373232643732356162313931616637322900
96+
Content: 46616365626F6F6B20636C616E672076657273696F6E2031352E302E302028676974406769746875622E636F6D3A6B6576696E667265692F6C6C766D2E67697420633234306534393034343037643064393337383633666533306332656265373764633639333232352900
9797
- Name: .debug_info
9898
Type: SHT_PROGBITS
9999
AddressAlign: 0x1
@@ -105,7 +105,7 @@ Sections:
105105
- Name: .debug_line
106106
Type: SHT_PROGBITS
107107
AddressAlign: 0x1
108-
Content: 7B0000000500080037000000010101FB0E0D00010101010000000100000101011F010000000003011F020F051E013D00000000AA7BC59AF617547916B47B73E78D55160400000902001040000000000003C30001050B0AAD0510063C05183C0526E405153C05030B3C050006A1050F0ABE050BBB0503065806770210000101
108+
Content: 780000000500080037000000010101FB0E0D00010101010000000100000101011F010000000003011F020F051E013D000000002F0CB321CF64CEDC7E77B5861A0075A20400000902001040000000000014050B0AAD0510063C05183C0526E405153C05030B3C050006A1050F0ABE050BBB0503065806770210000101
109109
- Name: .debug_line_str
110110
Type: SHT_PROGBITS
111111
Flags: [ SHF_MERGE, SHF_STRINGS ]

lldb/test/Shell/Debuginfod/Inputs/sym-stripped.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Sections:
5959
AddressAlign: 0x4
6060
Notes:
6161
- Name: GNU
62-
Desc: 725D47B7EE964F615C841A04712D6F43175F9D8D
62+
Desc: 6E10CF17A4D84D5622C67A2FD38282BF121C67D5
6363
Type: NT_PRPSINFO
6464
- Name: .text
6565
Type: SHT_NOBITS
@@ -93,19 +93,19 @@ Sections:
9393
Flags: [ SHF_MERGE, SHF_STRINGS ]
9494
AddressAlign: 0x1
9595
EntSize: 0x1
96-
Content: 46616365626F6F6B20636C616E672076657273696F6E2031352E302E302028676974406769746875622E636F6D3A6B6576696E667265692F6C6C766D2E67697420663262383163623536396430363332613065623066643531373232643732356162313931616637322900
96+
Content: 46616365626F6F6B20636C616E672076657273696F6E2031352E302E302028676974406769746875622E636F6D3A6B6576696E667265692F6C6C766D2E67697420633234306534393034343037643064393337383633666533306332656265373764633639333232352900
9797
- Name: .debug_info
9898
Type: SHT_PROGBITS
9999
AddressAlign: 0x1
100-
Content: 9A000000050001080000000001001D0001080000000000000002016400000008000000022D000000004C02A1000339000000043D0000000100050306010604080707012800000001560500447E0000000802917C0800447E00000008029170090044820000000009023400000001560700480A02770809004C9100000000050605040B870000000B8C0000000C390000000387000000043D000000010000
100+
Content: 9A000000050001080000000001001D0001080000000000000002016400000008000000022D000000000B02A1000339000000043D0000000100050306010604080707012800000001560500037E0000000802917C0800037E00000008029170090003820000000009023400000001560700070A02770809000B9100000000050605040B870000000B8C0000000C390000000387000000043D000000010000
101101
- Name: .debug_abbrev
102102
Type: SHT_PROGBITS
103103
AddressAlign: 0x1
104104
Content: 011101252513050325721710171B25111B12067317000002340049133A0B3B0B02180000030101491300000421004913370B000005240003253E0B0B0B000006240003250B0B3E0B0000072E01111B1206401803253A0B3B0B271949133F190000080500021803253A0B3B0B49130000092E01111B1206401803253A0B3B0B27193F1900000A3400021803253A0B3B0B491300000B0F00491300000C26004913000000
105105
- Name: .debug_line
106106
Type: SHT_PROGBITS
107107
AddressAlign: 0x1
108-
Content: 7B0000000500080037000000010101FB0E0D00010101010000000100000101011F010000000003011F020F051E013D00000000AA7BC59AF617547916B47B73E78D55160400000902001040000000000003C30001050B0AAD0510063C05183C0526E405153C05030B3C050006A1050F0ABE050BBB0503065806770210000101
108+
Content: 780000000500080037000000010101FB0E0D00010101010000000100000101011F010000000003011F020F051E013D000000002F0CB321CF64CEDC7E77B5861A0075A20400000902001040000000000014050B0AAD0510063C05183C0526E405153C05030B3C050006A1050F0ABE050BBB0503065806770210000101
109109
- Name: .debug_line_str
110110
Type: SHT_PROGBITS
111111
Flags: [ SHF_MERGE, SHF_STRINGS ]
@@ -190,7 +190,7 @@ Symbols:
190190
Value: 0x404000
191191
DWARF:
192192
debug_str:
193-
- 'Facebook clang version 15.0.0 ([email protected]:kevinfrei/llvm.git f2b81cb569d0632a0eb0fd51722d725ab191af72)'
193+
- 'Facebook clang version 15.0.0 ([email protected]:kevinfrei/llvm.git c240e4904407d0d937863fe30c2ebe77dc693225)'
194194
- main.c
195195
- '/home/freik/llvm-sand/llvm/lldb/test/Shell/Debuginfod/Inputs'
196196
- char

lldb/test/Shell/Debuginfod/okdstrip-no-locator.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919
# RUN: 2>&1 | FileCheck %s
2020

2121
# Should have source file and line information:
22-
# CHECK: Breakpoint 1: where = bin-stripped`func + 11 at main.c:69:11, address = 0x{{[0-9a-f]+}}
22+
# CHECK: Breakpoint 1: where = bin-stripped`func + 11 at main.c:4:11, address = 0x{{[0-9a-f]+}}

lldb/test/Shell/Debuginfod/okdstrip-positive-a.test

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
# Set up a file-system 'hosted' Debuginfod server.
88
# RUN: rm -rf %t
99
# RUN: mkdir -p %t/cache
10-
# RUN: mkdir -p %t/buildid/725d47b7ee964f615c841a04712d6f43175f9d8d
10+
# RUN: mkdir -p %t/buildid/6e10cf17a4d84d5622c67a2fd38282bf121c67d5
1111

1212
# RUN: yaml2obj %p/Inputs/bin-stripped.yaml -o %t/bin-stripped.tmp
1313
# RUN: yaml2obj %p/Inputs/sym-stripped.yaml -o %t/bin-stripped.dbg
1414
# RUN: llvm-objcopy %t/bin-stripped.tmp --add-gnu-debuglink=%t/bin-stripped.dbg %t/bin-stripped
15-
# RUN: mv %t/bin-stripped.dbg %t/buildid/725d47b7ee964f615c841a04712d6f43175f9d8d/debuginfo
15+
# RUN: mv %t/bin-stripped.dbg %t/buildid/6e10cf17a4d84d5622c67a2fd38282bf121c67d5/debuginfo
1616
# RUN: chmod a+x %t/bin-stripped
1717

1818
# RUN: %lldb -o "settings set symbols.enable-external-lookup true" \
@@ -25,4 +25,4 @@
2525
# RUN: 2>&1 | FileCheck %s
2626

2727
# Should have source file and line information:
28-
# CHECK: Breakpoint 1: where = bin-stripped`func + 11 at main.c:69:11, address = 0x{{[0-9a-f]+}}
28+
# CHECK: Breakpoint 1: where = bin-stripped`func + 11 at main.c:4:11, address = 0x{{[0-9a-f]+}}

0 commit comments

Comments
 (0)