[cfe-users] dumb question about record-command-line

David Blaikie via cfe-users cfe-users at lists.llvm.org
Tue Nov 19 11:39:25 PST 2019

Depends on your platform, but probably in some section or another in the
object/executable. Try running objdump (or llvm-objdump) -h on the object
or executable with/without the switch and see which new section shows up.
Then you can use objdump -s (I think it's -s, check the man page, etc) to
dump the contents of that section.

On Tue, Nov 19, 2019 at 8:44 AM Jerry Scharf via cfe-users <
cfe-users at lists.llvm.org> wrote:

> Hi,
> I have an exceeding dumb question.
> If I turn on -frecord-command-line, how do I view it in the object
> files, libraries and executables? No matter what I incant to google, it
> only wants to tell me what the command line arguments are.
> thanks in advance,
> jerry
> _______________________________________________
> cfe-users mailing list
> cfe-users at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20191119/80e766f5/attachment.html>

More information about the cfe-users mailing list