Closed
Description
$ clang --target=aarch64-none-elf --print-target-triple
aarch64-none-unknown-elf
$ clang --target=armv7m-none-eabi --print-target-triple
armv7m-none-unknown-eabi
The expected value is that none
and unknown
should be swapped.
Caused by std::string Triple::normalize(StringRef Str)
in llvm/lib/TargetParser/Triple.cpp
.