Skip to content

Commit 59918d3

Browse files
committed
[lldb/testsuite] Make TestObjCIvarStripped.py working with codesigning
This test was stripping a binary generated by Makefile.rules which is potentially codesigned. Stripping invalidates the code signature, so we might need to re-sign after stripping.
1 parent acd641c commit 59918d3

File tree

1 file changed

+5
-2
lines changed
  • lldb/test/API/lang/objc/objc-ivar-stripped

1 file changed

+5
-2
lines changed

lldb/test/API/lang/objc/objc-ivar-stripped/Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ LD_EXTRAS := -lobjc -framework Foundation
33

44
all: a.out.stripped
55

6+
include Makefile.rules
7+
68
a.out.stripped: a.out.dSYM
79
strip -o a.out.stripped a.out
8-
9-
include Makefile.rules
10+
ifneq "$(CODESIGN)" ""
11+
$(CODESIGN) -fs - a.out.stripped
12+
endif

0 commit comments

Comments
 (0)