File tree Expand file tree Collapse file tree 2 files changed +10
-17
lines changed
lldb/packages/Python/lldbsuite/test Expand file tree Collapse file tree 2 files changed +10
-17
lines changed Original file line number Diff line number Diff line change @@ -517,6 +517,9 @@ def is_remote():
517
517
def skipIfNoSBHeaders (func ):
518
518
"""Decorate the item to mark tests that should be skipped when LLDB is built with no SB API headers."""
519
519
def are_sb_headers_missing ():
520
+ if lldb .remote_platform :
521
+ return "skip because SBHeaders tests make no sense remotely"
522
+
520
523
if lldbplatformutil .getHostPlatform () == 'darwin' :
521
524
header = os .path .join (
522
525
os .environ ["LLDB_LIB_DIR" ],
Original file line number Diff line number Diff line change 1
- CC ?= clang
2
- ifeq "$(ARCH ) " ""
3
- ARCH = x86_64
4
- endif
5
-
6
- ifeq "$(OS ) " ""
7
- OS = $(shell uname -s)
8
- endif
1
+ C_SOURCES = main.c
9
2
10
- CFLAGS ?= -g -O0
3
+ include Makefile.rules
11
4
12
- ifeq "$(OS ) " "Darwin"
13
- CFLAGS += -arch $(ARCH)
14
- endif
5
+ all : a.out.dSYM hide.app/Contents/a.out.dSYM
15
6
16
- all : main.c clean
7
+ hide.app/Contents/a.out.dSYM :
17
8
mkdir hide.app
18
9
mkdir hide.app/Contents
19
- $(CC ) $(CFLAGS ) -g $<
20
10
mv a.out.dSYM hide.app/Contents
21
11
strip -x a.out
22
-
23
- clean :
24
- rm -rf a.out a.out.dSYM hide.app
12
+ ifneq " $( CODESIGN ) " ""
13
+ $(CODESIGN) -fs - a.out
14
+ endif
You can’t perform that action at this time.
0 commit comments