[PATCH] D34063: [ThinLTO][llvm-lto2] Dump YAML for module summaries

Charles Saternos via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 9 16:02:25 PDT 2017


ncharlie marked 2 inline comments as done.
ncharlie added inline comments.


================
Comment at: include/llvm/IR/ModuleSummaryIndex.h:537
+  // Maps Oid GUID to the stringified value name (for dissassembly)
+  std::map<GlobalValue::GUID, std::string> OidToValueName;
+
----------------
mehdi_amini wrote:
> Do we want this on all the time? Is this a fundamental property of the Index?
> It isn't clear to me if it isn't just a debugging tool that map to the IR when available right now?
How would you recommend making this an optional debugging option? Would a constructor argument work?


https://reviews.llvm.org/D34063





More information about the llvm-commits mailing list