[PATCH] Support using sample profiles with partial debug info.

David Blaikie dblaikie at gmail.com
Tue Oct 21 15:24:14 PDT 2014


================
Comment at: lib/Transforms/Scalar/SampleProfile.cpp:647
@@ -645,2 +646,3 @@
+                                          const LLVMContext &Ctx) {
   NamedMDNode *CUNodes = F.getParent()->getNamedMetadata("llvm.dbg.cu");
   if (CUNodes) {
----------------
Why do we need this code at all? Should we just remove it in favor of the other code?

http://reviews.llvm.org/D5887






More information about the llvm-commits mailing list