[PATCH] D15700: Split Undefined and UndefinedElf

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 21 13:32:49 PST 2015


davide added a subscriber: davide.
davide added a comment.

The conversion seems pretty mechanical and it doesn't seem to complicate the code -- I think I like the idea better than using bogus Elf_Sym. Couple of nits. Thanks!


================
Comment at: ELF/OutputSections.cpp:811
@@ -810,2 +810,3 @@
   case SymbolBody::UndefinedKind:
+  case SymbolBody::UndefinedElfKind:
     return 0;
----------------
Unsorted.

================
Comment at: ELF/Symbols.h:66
@@ -65,2 +65,3 @@
     UndefinedKind,
+    UndefinedElfKind,
     LazyKind
----------------
Ditto.


http://reviews.llvm.org/D15700





More information about the llvm-commits mailing list