forked from OSchip/llvm-project
Make sure LldbGdbServerTestCase is built in arm mode to avoid failures due thumb instructions
Differential revision: https://reviews.llvm.org/D23395 llvm-svn: 278326
This commit is contained in:
parent
4dbab21354
commit
3add5ec690
|
@ -1,6 +1,6 @@
|
|||
LEVEL = ../../make
|
||||
|
||||
CFLAGS_EXTRAS += -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS
|
||||
override CFLAGS_EXTRAS += -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS
|
||||
ENABLE_THREADS := YES
|
||||
CXX_SOURCES := main.cpp
|
||||
MAKE_DSYM :=NO
|
||||
|
|
|
@ -1233,7 +1233,11 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase):
|
|||
@debugserver_test
|
||||
def test_software_breakpoint_set_and_remove_work_debugserver(self):
|
||||
self.init_debugserver_test()
|
||||
self.build()
|
||||
if self.getArchitecture() == "arm":
|
||||
# TODO: Handle case when setting breakpoint in thumb code
|
||||
self.build(dictionary={'CFLAGS_EXTRAS': '-marm'})
|
||||
else:
|
||||
self.build()
|
||||
self.set_inferior_startup_launch()
|
||||
self.software_breakpoint_set_and_remove_work()
|
||||
|
||||
|
@ -1241,7 +1245,11 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase):
|
|||
@expectedFlakeyLinux("llvm.org/pr25652")
|
||||
def test_software_breakpoint_set_and_remove_work_llgs(self):
|
||||
self.init_llgs_test()
|
||||
self.build()
|
||||
if self.getArchitecture() == "arm":
|
||||
# TODO: Handle case when setting breakpoint in thumb code
|
||||
self.build(dictionary={'CFLAGS_EXTRAS': '-marm'})
|
||||
else:
|
||||
self.build()
|
||||
self.set_inferior_startup_launch()
|
||||
self.software_breakpoint_set_and_remove_work()
|
||||
|
||||
|
|
Loading…
Reference in New Issue