Skip to content

Commit 29ff07b

Browse files
Merge pull request #8448 from adrian-prantl/cleanup-flag
Remove redundant compiler flag from test
2 parents dc77fb1 + dbbf0f1 commit 29ff07b

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

lldb/test/API/lang/swift/macro/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ SWIFTFLAGS_EXTRAS = -I.
22

33
ifneq "$(SWIFT_SOURCES)" "empty.swift"
44

5-
SWIFTFLAGS_EXTRAS += -load-plugin-library $(BUILDDIR)/libMacroImpl.dylib
5+
SWIFTFLAGS_EXTRAS += -load-plugin-library $(BUILDDIR)/libMacroImpl.dylib -dwarf-version=5
66
LD_EXTRAS = -L$(BUILDDIR) -lMacro
77

88
endif

lldb/test/API/lang/swift/macro/main.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import Macro
22

33
func testStringify(a: Int, b: Int) {
44
print("break here")
5-
let s = #stringify(a + b)
5+
let s = #stringify(a / b)
66
print(s.1)
77
}
88

9-
testStringify(a: 23, b: 42)
9+
testStringify(a: 23, b: 0)
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
SWIFT_SOURCES := RuntimeFailure.swift
2-
SWIFTFLAGS_EXTRAS += -Xllvm -enable-trap-debug-info
32

43
include Makefile.rules

0 commit comments

Comments
 (0)