[PATCH] D32171: [ELF] - Implemented --defsym option #2

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 18 09:31:44 PDT 2017


grimar added inline comments.


================
Comment at: ELF/SymbolTable.cpp:174-178
+  SymbolBody *B = find(Name);
+  if (!B) {
+    error("undefined symbol '" + Name + "' used in --defsym= expression");
+    return;
+  }
----------------
davide wrote:
> this bit is untested.
Fixed.


https://reviews.llvm.org/D32171





More information about the llvm-commits mailing list