diff options
author | Joseph Huber <huberjn@outlook.com> | 2024-01-05 12:09:17 -0600 |
---|---|---|
committer | Joseph Huber <huberjn@outlook.com> | 2024-01-05 12:09:20 -0600 |
commit | 0cb98167ecee4b8e91fb07cb186daae616045454 (patch) | |
tree | ff078d3612b7ba486f0371c94994fd06dec8cd1c | |
parent | 070ac1dcd5cf27ce3722e60c8416217a6fdb5581 (diff) |
[ELF][Obvious] Last time fixing this test hopefully
-rw-r--r-- | llvm/unittests/Object/ELFObjectFileTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Object/ELFObjectFileTest.cpp b/llvm/unittests/Object/ELFObjectFileTest.cpp index 71c08f51f863..48bebc54ccc2 100644 --- a/llvm/unittests/Object/ELFObjectFileTest.cpp +++ b/llvm/unittests/Object/ELFObjectFileTest.cpp @@ -313,7 +313,7 @@ TEST(ELFObjectFileTest, CheckOSAndTriple) { llvm::Triple TheTriple = ELFObj.makeTriple(); // The AMDGPU architecture will be unknown on big-endian testers. - if (TheTriple.getOS() == Triple::UnknownOS) + if (TheTriple.getArch() == Triple::UnknownArch) continue; EXPECT_EQ(Triple, TheTriple.getTriple()); |