[PATCH] D34168: [cfi] CFI-ICall for ThinLTO.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 15 10:30:58 PDT 2017


pcc added inline comments.


================
Comment at: lib/Transforms/IPO/LowerTypeTests.cpp:1415
 
+static bool IsFunctionLive(StringRef Name, const ModuleSummaryIndex *Summary) {
+  auto GUID = GlobalValue::getGUID(GlobalValue::dropLLVMManglingEscape(Name));
----------------
You could remove this function and use `ModuleSummaryIndex::isGUIDLive` now.


Repository:
  rL LLVM

https://reviews.llvm.org/D34168





More information about the llvm-commits mailing list