Skip to content

Commit d13cb6f

Browse files
author
Kevin Frei
committed
Got the 'maximal stuff' building properly
1 parent 4ffb928 commit d13cb6f

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

lldb/packages/Python/lldbsuite/test/make/Makefile.rules

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ ifneq "$(OS)" "Darwin"
363363

364364
OBJCOPY ?= $(call replace_cc_with,objcopy)
365365
ARCHIVER ?= $(call replace_cc_with,ar)
366-
DWP ?= $(call reaplce_cc_with,dwp)
366+
DWP ?= $(call replace_cc_with,dwp)
367367
override AR = $(ARCHIVER)
368368
endif
369369

@@ -572,15 +572,15 @@ else
572572
endif
573573
else
574574
ifeq "$(SPLIT_DEBUG_SYMBOLS)" "YES"
575-
ifneq "$(KEEP_FULL_DEBUG_BINARY)" "YES"
575+
ifneq "$(KEEP_FULL_DEBUG_BINARY)" "YES"
576576
$(OBJCOPY) --only-keep-debug "$(EXE)" "$(DSYM)"
577-
else
577+
else
578578
cp "$(EXE)" "$(DSYM)"
579-
endif
579+
endif
580580
$(OBJCOPY) --strip-debug --add-gnu-debuglink="$(DSYM)" "$(EXE)" "$(EXE)"
581581
endif
582582
ifeq "$(MERGE_DWOS)" "YES"
583-
$(DWP) -o "$(DWP_FILE)" $(DWOS)
583+
$(DWP) -o "$(DWP_NAME)" $(DWOS)
584584
endif
585585
endif
586586

lldb/test/API/debuginfod/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
C_SOURCES := main.c
2-
CFLAGS_EXTRAS := -std=c99
2+
LDFLAGS := -Wl,--build-id
33

44
MAKE_DWO := YES
55
SPLIT_DEBUG_SYMBOLS := YES

lldb/test/API/debuginfod/TestSampleTest.py renamed to lldb/test/API/debuginfod/TestDebuginfod.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Describe the purpose of the test class here.
2+
Test support for the DebugInfoD network symbol acquisition protocol.
33
"""
44

55

@@ -8,14 +8,14 @@
88
from lldbsuite.test.lldbtest import *
99

1010

11-
class RenameThisSampleTestTestCase(TestBase):
11+
class DebugInfodTests(TestBase):
1212
# If your test case doesn't stress debug info, then
1313
# set this to true. That way it won't be run once for
1414
# each debug info format.
1515
NO_DEBUG_INFO_TESTCASE = True
1616

17-
def test_sample_rename_this(self):
18-
"""There can be many tests in a test case - describe this test here."""
17+
def test_stuff(self):
18+
"""This should test stuff."""
1919
self.build()
2020
self.main_source_file = lldb.SBFileSpec("main.c")
2121
self.sample_test()
@@ -25,7 +25,8 @@ def setUp(self):
2525
TestBase.setUp(self)
2626
# Set up your test case here. If your test doesn't need any set up then
2727
# remove this method from your TestCase class.
28-
# I need to setup the file-system-hosted Debuginfod server
28+
# I need to setup the file-system-hosted Debuginfod server 'root'.
29+
# The files it should host can be generated per-test
2930

3031
def sample_test(self):
3132
"""You might use the test implementation in several ways, say so here."""

0 commit comments

Comments
 (0)