[PATCH] D110186: Fix tests defaulting to incorrect triples on AIX

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 21 13:50:06 PDT 2021


MaskRay requested changes to this revision.
MaskRay added a comment.

> The tests only specify -march, so when the tests are run on AIX the target OS defaults to AIX, which causes the tests to misbehave.

Can you confirm? I don't think so.

See `llvm/lib/Support/Triple.cpp:getDefaultFormat`. ELF is the default binary format for everything except wasm.
This does give ELF a privilege but that is just how things work:)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110186/new/

https://reviews.llvm.org/D110186



More information about the llvm-commits mailing list