Skip to content

Commit 69b97aa

Browse files
committed
Revert "Filter out -g from custom link command to avoid generating a dsym"
This reverts commit 0750e0d.
1 parent 0750e0d commit 69b97aa

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

lldb/source/Breakpoint/BreakpointResolverFileLine.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,9 +294,6 @@ Searcher::CallbackReturn BreakpointResolverFileLine::SearchCallback(
294294
for (size_t i = 0; i < num_comp_units; i++) {
295295
CompUnitSP cu_sp(context.module_sp->GetCompileUnitAtIndex(i));
296296
if (cu_sp) {
297-
StreamString s;
298-
cu_sp->GetDescription(&s, eDescriptionLevelBrief);
299-
llvm::errs()<<s.GetString()<<"\n";
300297
if (filter.CompUnitPasses(*cu_sp))
301298
cu_sp->ResolveSymbolContext(m_location_spec, eSymbolContextEverything,
302299
sc_list);

lldb/test/API/lang/swift/static_linking/macOS/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ SWIFTFLAGS+=-sdk "$(SWIFTSDKROOT)"
1717

1818
$(EXE): objc_main.m A.o B.o
1919
$(CC) $(CFLAGS) -c -I. $< -fobjc-arc -o $(BUILDDIR)/objc_main.o
20-
$(SWIFTC) $(patsubst -g,,$(SWIFTFLAGS)) -o $@ $(BUILDDIR)/objc_main.o $(BUILDDIR)/A.o $(BUILDDIR)/B.o -L$(BUILDDIR) -Xlinker -add_ast_path -Xlinker A.swiftmodule -Xlinker -add_ast_path -Xlinker B.swiftmodule
20+
$(SWIFTC) $(SWIFTFLAGS) -o $@ $(BUILDDIR)/objc_main.o $(BUILDDIR)/A.o $(BUILDDIR)/B.o -L$(BUILDDIR) -Xlinker -add_ast_path -Xlinker A.swiftmodule -Xlinker -add_ast_path -Xlinker B.swiftmodule
2121
ifneq "$(CODESIGN)" ""
2222
$(CODESIGN) -s - "$@"
2323
endif

0 commit comments

Comments
 (0)