[PATCH] D25697: Make the LTO comdat api more symbol table friendly

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 17 19:50:59 PDT 2016


davide added inline comments.


================
Comment at: lib/LTO/LTO.cpp:230
 
+Expected<int> InputFile::Symbol::getComdat() const {
+  if (!GV)
----------------
Can you please document this API? 
e.g. we return if the symbol has no GlobalValue associated etc..


https://reviews.llvm.org/D25697





More information about the llvm-commits mailing list