https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124464

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmalcolm at gcc dot gnu.org

--- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Thanks for filing this bug.

I'm finding it hard to grok the "XXX" and "YYY".  Do you have a concrete
example for your use-case?  (i.e. a specific error message, and what the output
for it currently looks like)


Brainstorming, maybe something like:

<command-line>:1:1: error: XXXX
    1 | ./gcc/crab1 test.rs -frust-crate-attr="(option1"
      |                                        ^~~~~~~~

or even:

crab1:argument[2]: -frust-crate-attr="(option1"
                                      ^~~~~~~~

or somesuch.

We don't have access to the command line, we just have access to the list of
arguments provided by the OS to the process.

Probably good to thing about response files also, for which we *do* see the
text form (not sure if we handle these gracefully yet)

Reply via email to