forked from OSchip/llvm-project
parent
91fc7d89d0
commit
4407767fe8
|
@ -3493,7 +3493,7 @@ bool DwarfLinker::link(const DebugMap &Map) {
|
||||||
if (Obj->getType() == MachO::N_AST) {
|
if (Obj->getType() == MachO::N_AST) {
|
||||||
auto ErrOrMemBufferRefs = BinHolder.GetMemoryBuffersForFile(
|
auto ErrOrMemBufferRefs = BinHolder.GetMemoryBuffersForFile(
|
||||||
Obj->getObjectFilename(), Obj->getTimestamp());
|
Obj->getObjectFilename(), Obj->getTimestamp());
|
||||||
if (auto Err = ErrOrMemBufferRefs.getError())
|
if (ErrOrMemBufferRefs.getError())
|
||||||
continue;
|
continue;
|
||||||
if (!Options.NoOutput)
|
if (!Options.NoOutput)
|
||||||
Streamer->emitSwiftAST(ErrOrMemBufferRefs.get());
|
Streamer->emitSwiftAST(ErrOrMemBufferRefs.get());
|
||||||
|
|
Loading…
Reference in New Issue