Currently, when a machine-dependent GNU-inline-asm modifier cannot be applied due to whatever error - a rather general error message is emitted.
This patch provides infrastructure for a target to supply a more detailed diagnostics regarding such a failure.
As a result - diagnostics for the case where X86's 'H' modifier apply is erroneous is added, which aligns Clang's diagnostics with GCC.
Details
Details
- Reviewers
myatsina echristo rengolin rnk m_zuckerman
Diff Detail
Diff Detail
- Repository
- rL LLVM
I would expect this does the right thing anyway if you just << ErrorMsg even when empty