Skip to content

Commit d8139ae

Browse files
committed
[lldb][test] Use -gdwarf to fix same CU breakpoint test on Windows on Arm
clang when given -g on Windows produces a PDB file. For whatever reason, the test doesn't work with that. -gdwarf produces DWARF regardless of platform. Fixes 803f957.
1 parent cab606c commit d8139ae

File tree

1 file changed

+4
-4
lines changed
  • lldb/test/API/functionalities/breakpoint/same_cu_name

1 file changed

+4
-4
lines changed

lldb/test/API/functionalities/breakpoint/same_cu_name/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ LD_EXTRAS := ns1.o ns2.o ns3.o ns4.o
44
a.out: main.o ns1.o ns2.o ns3.o ns4.o
55

66
ns1.o: common.cpp
7-
$(CC) -g -c -DNAMESPACE=ns1 -o $@ $<
7+
$(CC) -gdwarf -c -DNAMESPACE=ns1 -o $@ $<
88

99
ns2.o: common.cpp
10-
$(CC) -g -c -DNAMESPACE=ns2 -o $@ $<
10+
$(CC) -gdwarf -c -DNAMESPACE=ns2 -o $@ $<
1111

1212
ns3.o: common.cpp
13-
$(CC) -g -c -DNAMESPACE=ns3 -o $@ $<
13+
$(CC) -gdwarf -c -DNAMESPACE=ns3 -o $@ $<
1414

1515
ns4.o: common.cpp
16-
$(CC) -g -c -DNAMESPACE=ns4 -o $@ $<
16+
$(CC) -gdwarf -c -DNAMESPACE=ns4 -o $@ $<
1717

1818

1919
include Makefile.rules

0 commit comments

Comments
 (0)