[PATCH] D89500: Fix the error message with -fbasic-block-sections=list=<filename>

David Blaikie via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 4 19:25:57 PST 2020


On Tue, Oct 27, 2020 at 2:21 PM Sriraman Tallam via cfe-commits <
cfe-commits at lists.llvm.org> wrote:

>
>
> On Tue, Oct 27, 2020 at 2:14 PM David Blaikie via Phabricator <
> reviews at reviews.llvm.org> wrote:
>
>> dblaikie added a comment.
>>
>> @tmsriram ping on the follow-up here
>>
>
> I checked in the patch that emits llvm instead of obj which spews garbage
> to the terminal as I wasn't redirecting it to /dev/null.  The test seems
> stable. Is there a particular concern? Sorry if I missed somethig here?
>

Oh, sorry - I missed your emails on-list, as they didn't end up on the
review when viewed via Phabricator - that's most of the confusion. My
mistake.

Going back over it though - Yep, I totally missed the "ERROR" check line at
the end (maybe worth an empty line between it and the UNIQUE check lines -
as there's a break between UNIQUE and other lines (maybe the BB_* ones
could use breaks too)).

Though I'm still curious: Why is this command producing any object/binary
output if it has produced an error message? That seems incorrect to me
(generally if there's been any error, there wouldn't be output).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201104/70d00e84/attachment.html>


More information about the cfe-commits mailing list