@@ -51,7 +51,7 @@ LLDB_BASE_DIR := $(THIS_FILE_DIR)/../../../../../
51
51
#
52
52
# GNUWin32 uname gives "windows32" or "server version windows32" while
53
53
# some versions of MSYS uname return "MSYS_NT*", but most environments
54
- # standardize on "Windows_NT", so we'll make it consistent here.
54
+ # standardize on "Windows_NT", so we'll make it consistent here.
55
55
# When running tests from Visual Studio, the environment variable isn't
56
56
# inherited all the way down to the process spawned for make.
57
57
#----------------------------------------------------------------------
@@ -210,12 +210,6 @@ else
210
210
ifeq "$(SPLIT_DEBUG_SYMBOLS)" "YES"
211
211
DSYM = $(EXE).debug
212
212
endif
213
-
214
- ifeq "$(MAKE_DWP)" "YES"
215
- MAKE_DWO := YES
216
- DWP_NAME = $(EXE).dwp
217
- DYLIB_DWP_NAME = $(DYLIB_NAME).dwp
218
- endif
219
213
endif
220
214
221
215
LIMIT_DEBUG_INFO_FLAGS =
@@ -364,7 +358,6 @@ ifneq "$(OS)" "Darwin"
364
358
365
359
OBJCOPY ?= $(call replace_cc_with,objcopy)
366
360
ARCHIVER ?= $(call replace_cc_with,ar)
367
- DWP ?= $(call replace_cc_with,dwp)
368
361
override AR = $(ARCHIVER)
369
362
endif
370
363
@@ -535,10 +528,6 @@ ifneq "$(CXX)" ""
535
528
endif
536
529
endif
537
530
538
- ifeq "$(GEN_GNU_BUILD_ID)" "YES"
539
- LDFLAGS += -Wl,--build-id
540
- endif
541
-
542
531
#----------------------------------------------------------------------
543
532
# DYLIB_ONLY variable can be used to skip the building of a.out.
544
533
# See the sections below regarding dSYM file as well as the building of
@@ -577,17 +566,10 @@ else
577
566
endif
578
567
else
579
568
ifeq "$(SPLIT_DEBUG_SYMBOLS)" "YES"
580
- ifeq "$(SAVE_FULL_DEBUG_BINARY)" "YES"
581
- cp "$(EXE)" "$(EXE).unstripped"
582
- endif
583
569
$(OBJCOPY) --only-keep-debug "$(EXE)" "$(DSYM)"
584
570
$(OBJCOPY) --strip-debug --add-gnu-debuglink="$(DSYM)" "$(EXE)" "$(EXE)"
585
571
endif
586
- ifeq "$(MAKE_DWP)" "YES"
587
- $(DWP) -o "$(DWP_NAME)" $(DWOS)
588
572
endif
589
- endif
590
-
591
573
592
574
#----------------------------------------------------------------------
593
575
# Make the dylib
@@ -629,15 +611,9 @@ endif
629
611
else
630
612
$(LD) $(DYLIB_OBJECTS) $(LDFLAGS) -shared -o "$(DYLIB_FILENAME)"
631
613
ifeq "$(SPLIT_DEBUG_SYMBOLS)" "YES"
632
- ifeq "$(SAVE_FULL_DEBUG_BINARY)" "YES"
633
- cp "$(DYLIB_FILENAME)" "$(DYLIB_FILENAME).unstripped"
634
- endif
635
614
$(OBJCOPY) --only-keep-debug "$(DYLIB_FILENAME)" "$(DYLIB_FILENAME).debug"
636
615
$(OBJCOPY) --strip-debug --add-gnu-debuglink="$(DYLIB_FILENAME).debug" "$(DYLIB_FILENAME)" "$(DYLIB_FILENAME)"
637
616
endif
638
- ifeq "$(MAKE_DWP)" "YES"
639
- $(DWP) -o $(DYLIB_DWP_FILE) $(DYLIB_DWOS)
640
- endif
641
617
endif
642
618
643
619
#----------------------------------------------------------------------
0 commit comments