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

David Tenty via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 21 14:11:14 PDT 2021


daltenty added a comment.

Hmm, for context the error is related to the relocation model:

   ./bin/llc -filetype=obj -mtriple=sparcv9 --relocation-model=static < foo.ll
  llc: error: '<stdin>': invalid relocation model, AIX only supports PIC

I guess if we wanted to side step this issue we could tie that error to the object file format (i.e. XCOFF) instead and presumably we wouldn't see this error since the default is ELF?


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