diff options
author | David Tenty <daltenty@ibm.com> | 2020-07-09 15:10:19 -0400 |
---|---|---|
committer | David Tenty <daltenty@ibm.com> | 2020-07-09 15:15:30 -0400 |
commit | 25ec96d91a3a5326a403496fa5532ff0bdb6a15b (patch) | |
tree | d0eb7b565b708ca108370c902b1f460e74a0a47a /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 2ede89187516ccd4ba06b83303e9d07c5d555ecf (diff) | |
download | llvm-25ec96d91a3a5326a403496fa5532ff0bdb6a15b.zip llvm-25ec96d91a3a5326a403496fa5532ff0bdb6a15b.tar.gz llvm-25ec96d91a3a5326a403496fa5532ff0bdb6a15b.tar.bz2 |
[Clang][Driver] Recognize the AIX OBJECT_MODE environment setting
Summary:
AIX uses an environment variable called OBJECT_MODE to indicate to
utilities in the toolchain whether they should be operating in 32-bit or
64-bit mode. This patch makes the clang driver recognize the current
OBJECT_MODE setting when we are operating with an AIX target and adds a
custom diagnostic for invalid settings.
For more details about OBJECT_MODE on AIX see:
https://www.ibm.com/support/knowledgecenter/SSGH2K_13.1.3/com.ibm.xlc1313.aix.doc/compiler_ref/tusetenv1.html
https://www.ibm.com/support/knowledgecenter/SSGH2K_13.1.3/com.ibm.xlc1313.aix.doc/compiler_ref/opt_3264.html
Reviewers: stevewan, hubert.reinterpretcast, ShuhongL, jasonliu
Reviewed By: hubert.reinterpretcast, jasonliu
Subscribers: jasonliu, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D82476
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions