This reverts commit 4f48a81a62.
The newly added test was failing on the public macOS Arm64 bots:
```
======================================================================
FAIL: test_column_breakpoints (TestDAP_breakpointLocations.TestDAP_setBreakpoints)
Test retrieving the available breakpoint locations.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/test/API/tools/lldb-dap/breakpoint/TestDAP_breakpointLocations.py", line 77, in test_column_breakpoints
self.assertEqual(
AssertionError: Lists differ: [{'co[70 chars]e': 41}, {'column': 3, 'line': 42}, {'column': 18, 'line': 42}] != [{'co[70 chars]e': 42}, {'column': 18, 'line': 42}]
First differing element 2:
{'column': 3, 'line': 41}
{'column': 3, 'line': 42}
First list contains 1 additional elements.
First extra element 4:
{'column': 18, 'line': 42}
[{'column': 39, 'line': 40},
{'column': 51, 'line': 40},
- {'column': 3, 'line': 41},
{'column': 3, 'line': 42},
{'column': 18, 'line': 42}]
Config=arm64-/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/bin/clang
----------------------------------------------------------------------
Ran 1 test in 1.554s
FAILED (failures=1)
```
20 lines
473 B
Makefile
20 lines
473 B
Makefile
CXX_SOURCES := main-copy.cpp
|
|
LD_EXTRAS := -Wl,-rpath "-Wl,$(shell pwd)"
|
|
USE_LIBDL :=1
|
|
|
|
a.out: libother
|
|
|
|
include Makefile.rules
|
|
|
|
# We copy the source files to move them to test source mapping
|
|
other-copy.c: other.c
|
|
cp -f $< $@
|
|
|
|
main-copy.cpp: main.cpp
|
|
cp -f $< $@
|
|
|
|
# The following shared library will be used to test breakpoints under dynamic loading
|
|
libother: other-copy.c
|
|
"$(MAKE)" -f $(MAKEFILE_RULES) \
|
|
DYLIB_ONLY=YES DYLIB_C_SOURCES=other-copy.c DYLIB_NAME=other
|