[PATCH] D34219: Allow -profile-guided-section-prefix more than once

David Callahan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 14 13:36:16 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL305413: Allow -profile-guided-section-prefix more than once (authored by david2050).

Changed prior to commit:
  https://reviews.llvm.org/D34219?vs=102596&id=102601#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D34219

Files:
  llvm/trunk/lib/CodeGen/CodeGenPrepare.cpp


Index: llvm/trunk/lib/CodeGen/CodeGenPrepare.cpp
===================================================================
--- llvm/trunk/lib/CodeGen/CodeGenPrepare.cpp
+++ llvm/trunk/lib/CodeGen/CodeGenPrepare.cpp
@@ -134,7 +134,7 @@
     cl::desc("Disable protection against removing loop preheaders"));
 
 static cl::opt<bool> ProfileGuidedSectionPrefix(
-    "profile-guided-section-prefix", cl::Hidden, cl::init(true),
+    "profile-guided-section-prefix", cl::Hidden, cl::init(true), cl::ZeroOrMore,
     cl::desc("Use profile info to add section prefix for hot/cold functions"));
 
 static cl::opt<unsigned> FreqRatioToSkipMerge(


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34219.102601.patch
Type: text/x-patch
Size: 631 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170614/126f2531/attachment.bin>


More information about the llvm-commits mailing list