Fix a crash-on-invalid in which -mtune/-mcpu are set to nonsense values while -arch=arm64.
This patch extends an arm cortex test out of convenience. I'd be happy to move the test if there is a better spot for it.
Differential D23643
[Driver] Report invalid -mtune/-mcpu parameters when -arch=arm64 vsk on Aug 17 2016, 10:03 PM. Authored by
Details Fix a crash-on-invalid in which -mtune/-mcpu are set to nonsense values while -arch=arm64. This patch extends an arm cortex test out of convenience. I'd be happy to move the test if there is a better spot for it.
Diff Detail
Event TimelineComment Actions Thanks Vedant, this also fixes the crash that occurs when -mtune=native is provided.
Comment Actions Per Akira's suggestion, don't pretend that the Arg* for -arch is a user-specified CPU name (and update the doxygen to reflect this).
Comment Actions
|