[PATCH] D39096: [ELF] - Generalize finding output section by name.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 24 21:31:49 PDT 2017


ruiu added inline comments.


================
Comment at: ELF/LinkerScript.cpp:107
+  OutputSection *Sec = NameToOutputSection.lookup(Name);
+  if (!Sec || Sec->Location.empty())
+    return nullptr;
----------------
What does `Location.empty()` mean?


https://reviews.llvm.org/D39096





More information about the llvm-commits mailing list