]> granicus.if.org Git - clang/commit
Fix codemodels.c test case (only test mcmodel-kernel on x86)
authorCaroline Tice <cmtice@google.com>
Fri, 21 Sep 2018 23:19:49 +0000 (23:19 +0000)
committerCaroline Tice <cmtice@google.com>
Fri, 21 Sep 2018 23:19:49 +0000 (23:19 +0000)
commitc90426129d8ccd3a9e23463f7d9fa2f3a51f3e33
tree1954bfe435e91199b9f3954c18c1067e7705fdaa
parent7c9855c5f9237f490d4a3edde24bb9b9cfe56e09
Fix codemodels.c test case (only test mcmodel-kernel on x86)

A recent commit I made broke aarch64 testing, because "kernel"
apparently is not a valid code-model on aarch64, and one of my tests
tested that. This fixes the problem (hopefully) by adding "-triple
x86_64-unknown-linux-gnu" to the test build with "-mcodel-model
kernel".

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@342789 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/codemodels.c