[PATCH] D18360: Add AIX Target/ToolChain to Clang Driver

Andrew Paprocki via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 22 10:47:40 PDT 2016


apaprocki created this revision.
apaprocki added a subscriber: cfe-commits.

This patch adds Clang driver support for the AIX platform.  This allows Clang to be used for compiling code / checking for errors, but does not allow for building executables, as AIX uses XCOFF and not ELF.

After applying this patch and the underlying D18359:

```
$ clang -v
clang version 3.8.0 (tags/RELEASE_380/final)
Target: powerpc-ibm-aix7.1.0.0
Thread model: posix
InstalledDir: /tmp/llvm-3.8/bin
Found candidate GCC installation: /tmp/gcc-4.8/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.5
Selected GCC installation: /tmp/gcc-4.8/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.5
Candidate multilib: .;@maix32
Candidate multilib: ppc64;@maix64
Selected multilib: .;@maix32
```

http://reviews.llvm.org/D18360

Files:
  lib/Basic/Targets.cpp
  lib/Driver/Driver.cpp
  lib/Driver/ToolChains.cpp
  lib/Driver/ToolChains.h
  lib/Driver/Tools.cpp
  lib/Driver/Tools.h
  tools/libclang/CIndexer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18360.51300.patch
Type: text/x-patch
Size: 19046 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160322/027f6f52/attachment-0001.bin>


More information about the cfe-commits mailing list