[PATCH] D58798: Use AIX version detection at LLVM run-time

Hubert Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 28 16:00:01 PST 2019


hubert.reinterpretcast created this revision.
hubert.reinterpretcast added reviewers: xingxue, stefanp, nemanjai, jasonliu.
Herald added subscribers: jdoerfert, kristina, mgorny.
Herald added a project: LLVM.

AIX compilers define macros based on the version of the operating system.

This patch implements updating of versionless AIX triples to include the host AIX version. Also, the host triple detection in the build system is adjusted to strip the AIX version information so that the run-time detection is preferred.


Repository:
  rL LLVM

https://reviews.llvm.org/D58798

Files:
  cmake/modules/GetHostTriple.cmake
  lib/Support/Unix/Host.inc
  unittests/Support/Host.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58798.188803.patch
Type: text/x-patch
Size: 7035 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190301/10606c59/attachment.bin>


More information about the llvm-commits mailing list