HomePhabricator

[driver][mips] Check both `gnuabi64` and `gnu` suffixes in `getMultiarchTriple`

Authored by atanasyan on Apr 2 2019, 11:03 AM.

Description

[driver][mips] Check both gnuabi64 and gnu suffixes in getMultiarchTriple

In case of N64 ABI toolchain paths migth have mips-linux-gnuabi64
or mips-linux-gnu directory regardless of selected environment.
Check both variants while detecting a multiarch triple.

Fix for the bug https://bugs.llvm.org/show_bug.cgi?id=41204

llvm-svn: 357506

Details

Committed
atanasyanApr 2 2019, 11:03 AM
Parents
rG27c0f204d79e: [driver] clang-format. Fix indentation, split long lines. NFC
Branches
Unknown
Tags
Unknown