diff options
author | Lang Hames <lhames@gmail.com> | 2016-04-27 22:54:03 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2016-04-27 22:54:03 +0000 |
commit | f88174dd807a377380528ed0f58110f3b96a9513 (patch) | |
tree | 5219197f3c5a82926f3271bb9e1ad1882f3f56e1 /llvm/lib | |
parent | e60465ddf7a5ff8a374375771aaad2bef51f32e7 (diff) | |
download | bcm5719-llvm-f88174dd807a377380528ed0f58110f3b96a9513.tar.gz bcm5719-llvm-f88174dd807a377380528ed0f58110f3b96a9513.zip |
[RuntimeDyld] Propagate another dropped error in RuntimeDyldELF.
This should fix the PPC64 bots.
llvm-svn: 267810
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp index 59f15b07b38..d36794dc704 100644 --- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp +++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp @@ -1480,7 +1480,8 @@ RuntimeDyldELF::processRelocationRef( // In the ELFv1 ABI, a function call may point to the .opd entry, // so the final symbol value is calculated based on the relocation // values in the .opd section. - findOPDEntrySection(Obj, ObjSectionToID, Value); + if (auto Err = findOPDEntrySection(Obj, ObjSectionToID, Value)) + return std::move(Err); } else { // In the ELFv2 ABI, a function symbol may provide a local entry // point, which must be used for direct calls. |