aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorDavid Tenty <daltenty@ibm.com>2020-07-09 15:10:19 -0400
committerDavid Tenty <daltenty@ibm.com>2020-07-09 15:15:30 -0400
commit25ec96d91a3a5326a403496fa5532ff0bdb6a15b (patch)
treed0eb7b565b708ca108370c902b1f460e74a0a47a /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent2ede89187516ccd4ba06b83303e9d07c5d555ecf (diff)
downloadllvm-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