mirror of
https://github.com/intel/llvm.git
synced 2026-02-01 17:07:36 +08:00
[LLDB] DebugInfoD tests: attempt to fix Fuchsia build (#96802)
This is the same diff I've put up at many times before. I've been trying to add some brand new functionality to the LLDB test infrastucture (create split-dwarf files!), and we all know that no good deed goes unpunished. The last attempt was reverted because it didn't work on the Fuchsia build. There are no code differences between this and [the](https://github.com/llvm/llvm-project/pull/90622) [previous](https://github.com/llvm/llvm-project/pull/87676) [four](https://github.com/llvm/llvm-project/pull/86812) [diffs](https://github.com/llvm/llvm-project/pull/85693) landed & reverted (due to testing infra failures). The only change in this one is the way `dwp` is being identified in `Makefile.rules`. Thanks to @petrhosek for helping me figure out how the fuchsia builders are configured. I now prefer to use llvm-dwp and fall back to gnu's dwp if the former isn't found. Hopefully this will work everywhere it needs to.
This commit is contained in:
@@ -775,6 +775,9 @@ SBStructuredData SBDebugger::GetBuildConfiguration() {
|
||||
AddBoolConfigEntry(
|
||||
*config_up, "xml", XMLDocument::XMLEnabled(),
|
||||
"A boolean value that indicates if XML support is enabled in LLDB");
|
||||
AddBoolConfigEntry(
|
||||
*config_up, "curl", LLVM_ENABLE_CURL,
|
||||
"A boolean value that indicates if CURL support is enabled in LLDB");
|
||||
AddBoolConfigEntry(
|
||||
*config_up, "curses", LLDB_ENABLE_CURSES,
|
||||
"A boolean value that indicates if curses support is enabled in LLDB");
|
||||
@@ -1724,20 +1727,20 @@ SBDebugger::LoadTraceFromFile(SBError &error,
|
||||
|
||||
void SBDebugger::RequestInterrupt() {
|
||||
LLDB_INSTRUMENT_VA(this);
|
||||
|
||||
|
||||
if (m_opaque_sp)
|
||||
m_opaque_sp->RequestInterrupt();
|
||||
m_opaque_sp->RequestInterrupt();
|
||||
}
|
||||
void SBDebugger::CancelInterruptRequest() {
|
||||
LLDB_INSTRUMENT_VA(this);
|
||||
|
||||
|
||||
if (m_opaque_sp)
|
||||
m_opaque_sp->CancelInterruptRequest();
|
||||
m_opaque_sp->CancelInterruptRequest();
|
||||
}
|
||||
|
||||
bool SBDebugger::InterruptRequested() {
|
||||
LLDB_INSTRUMENT_VA(this);
|
||||
|
||||
|
||||
if (m_opaque_sp)
|
||||
return m_opaque_sp->InterruptRequested();
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user