[PATCH] D116508: [llvm-profgen] Error out for unsupported AutoFDO profile generate with probe
Wenlei He via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 2 16:38:11 PST 2022
wenlei updated this revision to Diff 396965.
wenlei added a comment.
update message.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116508/new/
https://reviews.llvm.org/D116508
Files:
llvm/tools/llvm-profgen/ProfileGenerator.cpp
Index: llvm/tools/llvm-profgen/ProfileGenerator.cpp
===================================================================
--- llvm/tools/llvm-profgen/ProfileGenerator.cpp
+++ llvm/tools/llvm-profgen/ProfileGenerator.cpp
@@ -383,6 +383,8 @@
void ProfileGenerator::generateProfile() {
if (Binary->usePseudoProbes()) {
// TODO: Support probe based profile generation
+ exitWithError("Probe based profile generation not supported for AutoFDO, "
+ "consider dropping `--ignore-stack-samples` or adding `--use-dwarf-correlation`.");
} else {
generateLineNumBasedProfile();
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116508.396965.patch
Type: text/x-patch
Size: 594 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220103/1d348a91/attachment.bin>
More information about the llvm-commits
mailing list