mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
Add unit test for r217454
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217786 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e626ee51b6
commit
399ee93908
@ -566,6 +566,10 @@ TEST(TripleTest, NormalizeWindows) {
|
||||
}
|
||||
|
||||
TEST(TripleTest, getARMCPUForArch) {
|
||||
{
|
||||
llvm::Triple Triple("armv6-unknown-freebsd");
|
||||
EXPECT_STREQ("arm1176jzf-s", Triple.getARMCPUForArch());
|
||||
}
|
||||
{
|
||||
llvm::Triple Triple("armv7s-apple-ios7");
|
||||
EXPECT_STREQ("swift", Triple.getARMCPUForArch());
|
||||
|
Loading…
x
Reference in New Issue
Block a user