[lld] r227184 - [ARM] Correctly use make_unhandled_reloc_error

Denis Protivensky dprotivensky at accesssoftek.com
Tue Jan 27 00:47:15 PST 2015


Author: denis-protivensky
Date: Tue Jan 27 02:47:15 2015
New Revision: 227184

URL: http://llvm.org/viewvc/llvm-project?rev=227184&view=rev
Log:
[ARM] Correctly use make_unhandled_reloc_error

Modified:
    lld/trunk/lib/ReaderWriter/ELF/ARM/ARMRelocationHandler.cpp

Modified: lld/trunk/lib/ReaderWriter/ELF/ARM/ARMRelocationHandler.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/ARM/ARMRelocationHandler.cpp?rev=227184&r1=227183&r2=227184&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/ARM/ARMRelocationHandler.cpp (original)
+++ lld/trunk/lib/ReaderWriter/ELF/ARM/ARMRelocationHandler.cpp Tue Jan 27 02:47:15 2015
@@ -102,7 +102,7 @@ std::error_code ARMTargetRelocationHandl
     relocR_ARM_CALL(location, relocVAddress, targetVAddress, addend);
     break;
   default:
-    make_unhandled_reloc_error();
+    return make_unhandled_reloc_error();
   }
 
   return std::error_code();





More information about the llvm-commits mailing list