[PATCH] D28588: Pass -fprofile-sample-use to lto backends.
Teresa Johnson via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 12 15:27:24 PST 2017
tejohnson added a comment.
In https://reviews.llvm.org/D28588#644489, @danielcdh wrote:
> Thanks for the prompt response.
>
> But looks like several other tests also has "-mllvm -debug-pass=Structure" in their tests:
>
> tools/clang/test/CodeGen/pgo-instrumentation.c
> test/CodeGen/Generic/llc-start-stop.ll
>
> I just verified that if I cmake with -DCMAKE_BUILD_TYPE=Release, it still passes locally.
Hmm, maybe that flavor of -debug output is enabled with NDEBUG then. I'm not really sure unfortunately.
I don't even see an error message for the second one, do you? Just an error code.
> Thanks,
> Dehao
https://reviews.llvm.org/D28588
More information about the cfe-commits
mailing list