diff options
author | esmeyi <esme.yi@ibm.com> | 2022-07-20 07:09:34 -0400 |
---|---|---|
committer | esmeyi <esme.yi@ibm.com> | 2022-07-20 07:09:34 -0400 |
commit | b1847ff0686e7c43ebf6dc81cb08f8ca3305ab69 (patch) | |
tree | fc6084390d304d868c08d660d2805583d6bab6d2 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 029e83b401564db2562f0dc68c55563806570872 (diff) | |
download | llvm-b1847ff0686e7c43ebf6dc81cb08f8ca3305ab69.zip llvm-b1847ff0686e7c43ebf6dc81cb08f8ca3305ab69.tar.gz llvm-b1847ff0686e7c43ebf6dc81cb08f8ca3305ab69.tar.bz2 |
[XCOFF] write the aux header when the visibility is specified in XCOFF32.
The n_type field in the symbol table entry has two interpretations in XCOFF32, and a single interpretation in XCOFF64.
The new interpretation is used in XCOFF32 if the value of the o_vstamp field in the auxiliary header is 2.
In XCOFF64 and the new XCOFF32 interpretation, the n_type field is used for the symbol type and visibility.
The patch writes the aux header with an o_vstamp field value of 2 when the visibility is specified in XCOFF32 to make the new XCOFF32 interpretation used.
Reviewed By: DiggerLin, jhenderson
Differential Revision: https://reviews.llvm.org/D128148
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions