[PATCH] D44214: Improve --warn-symbol-ordering.

Rafael Avila de Espindola via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 27 20:43:00 PDT 2018


espindola added inline comments.


================
Comment at: lld/ELF/Writer.cpp:1063
+      auto *Sec = dyn_cast_or_null<InputSectionBase>(cast<Defined>(Sym)->Section);
+      if (!Sec) {
+        Warning("unable to order absolute symbol");
----------------
This will now fire on symbols the linker defines relative to an output section, no?



https://reviews.llvm.org/D44214





More information about the llvm-commits mailing list