[libc++] Allow running ABI list tests with different ABI versions
authorLouis Dionne <ldionne@apple.com>
Thu, 19 Jul 2018 18:02:50 +0000 (18:02 +0000)
committerLouis Dionne <ldionne@apple.com>
Thu, 19 Jul 2018 18:02:50 +0000 (18:02 +0000)
commite9b3f58290b7e4022c988abe1569131ef3d0c944
treed7b75cc34f207475ab569e174f178dbaafadf124
parentd7df6279e111678563cc48fc72432d24e4472d27
[libc++] Allow running ABI list tests with different ABI versions

Summary:
Currently, the ABI list test only works for ABI version 1. This commit
allows running the ABI list test with ABI version 2. It also adds an
ABI list file for ABI v2 on Mac OS X.

Reviewers: EricWF

Subscribers: mgorny, christof, dexonsmith, llvm-commits, mclow.lists

Differential Revision: https://reviews.llvm.org/D49509

llvm-svn: 337477
libcxx/lib/abi/CMakeLists.txt
libcxx/lib/abi/x86_64-apple-darwin.v1.abilist [moved from libcxx/lib/abi/x86_64-apple-darwin.abilist with 100% similarity]
libcxx/lib/abi/x86_64-apple-darwin.v2.abilist [new file with mode: 0644]
libcxx/lib/abi/x86_64-unknown-linux-gnu.v1.abilist [moved from libcxx/lib/abi/x86_64-unknown-linux-gnu.abilist with 100% similarity]