mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Add a SWIFT_RUNTIME_MACHO_NO_DYLD stdlib mode that doesn't dynamically look up sections in modules, and only assumes a single static module (#33441)
This commit is contained in:
committed by
GitHub
parent
d463c7933e
commit
db18deaf91
@@ -137,7 +137,7 @@ static bool getSymbolNameAddr(llvm::StringRef libraryName,
|
||||
|
||||
void swift::dumpStackTraceEntry(unsigned index, void *framePC,
|
||||
bool shortOutput) {
|
||||
#if SWIFT_SUPPORTS_BACKTRACE_REPORTING
|
||||
#if SWIFT_SUPPORTS_BACKTRACE_REPORTING && !defined(SWIFT_RUNTIME_MACHO_NO_DYLD)
|
||||
SymbolInfo syminfo;
|
||||
|
||||
// 0 is failure for lookupSymbol
|
||||
|
||||
Reference in New Issue
Block a user