This is all the tests and fixes I've had percolating since my first attempt at this in January. After 6 months of trying, I've given up on adding the ability to test DWP files in LLDB API tests. I've left both the tests (disabled) and the changes to Makefile.rules in place, in the hopes that someone who can configure the build bots will be able to enable the tests once a non-borked dwp tool is widely available. Other than disabling the DWP tests, this continues to be the same diff that I've tried to land and [not](https://github.com/llvm/llvm-project/pull/90622) [revert](https://github.com/llvm/llvm-project/pull/87676) [five](https://github.com/llvm/llvm-project/pull/86812) [times](https://github.com/llvm/llvm-project/pull/85693) [before](https://github.com/llvm/llvm-project/pull/96802). There are a couple of fixes that the testing exposed, and I've abandoned the DWP tests because I want to get those fixes finally upstreamed, as without them DebugInfoD is less useful.
24 lines
592 B
Makefile
24 lines
592 B
Makefile
C_SOURCES := main.c
|
|
|
|
# For split-dwarf Debuginfod tests, we need:
|
|
|
|
# * A .DWP file (a.out.dwp)
|
|
# Produced by Makefile.rules with MAKE_DWP set to YES
|
|
|
|
# * The "full" binary (missing things that live in .dwo's) (a.out.unstripped)
|
|
# Produced by Makefile.rules with SAVE_FULL_DEBUG_BINARY set to YES and
|
|
# SPLIT_DEBUG_SYMBOLS set to YES
|
|
|
|
# * The stripped binary (a.out)
|
|
# Produced by Makefile.rules
|
|
|
|
# * The 'only-keep-debug' binary (a.out.debug)
|
|
# Produced below
|
|
|
|
MAKE_DWP := YES
|
|
SPLIT_DEBUG_SYMBOLS := YES
|
|
SAVE_FULL_DEBUG_BINARY := YES
|
|
GEN_GNU_BUILD_ID := YES
|
|
|
|
include Makefile.rules
|