diff options
author | Jake Egan <5326451+jakeegan@users.noreply.github.com> | 2023-07-10 12:46:12 -0400 |
---|---|---|
committer | Jake Egan <5326451+jakeegan@users.noreply.github.com> | 2023-07-10 12:47:07 -0400 |
commit | bbd0d123d3aaa67d8bed9d16d9001b33540fc04d (patch) | |
tree | 0aa798c2a25c482833242a1809fd392eb5a4d917 /llvm/unittests/Support/VirtualFileSystemTest.cpp | |
parent | 171a5a761d24664786f65c861d083df306532a35 (diff) | |
download | llvm-bbd0d123d3aaa67d8bed9d16d9001b33540fc04d.zip llvm-bbd0d123d3aaa67d8bed9d16d9001b33540fc04d.tar.gz llvm-bbd0d123d3aaa67d8bed9d16d9001b33540fc04d.tar.bz2 |
Implement -frecord-command-line for XCOFF
This patch extends support of the option `-frecord-command-line` to XCOFF. XCOFF doesn’t have custom sections like ELF, so the command line data is emitted to a .info section instead. A C_INFO symbol is generated with the .info section to preserve the command line data past the link step. Multiple command lines are separated by newlines and null bytes. The command line data can be retrieved on AIX with command `what file_name`.
Reviewed By: scott.linder
Differential Revision: https://reviews.llvm.org/D153600
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions