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

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 18 09:21:42 PDT 2017


davide requested changes to this revision.
davide added inline comments.
This revision now requires changes to proceed.


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


https://reviews.llvm.org/D32171





More information about the llvm-commits mailing list