Simplify the mangling handling. This allows for the correct handling of extern
"C" symbols in C++ input. The observable difference with this simplification
that additional symbols are marked as naked (\01 prefix), namely asm
labels and redefine_extname.
Details
- Reviewers
rnk • espindola
Diff Detail
Event Timeline
lib/AST/Mangle.cpp | ||
---|---|---|
139 | The shouldMangleCXXName seems to be insufficient of a check for the MS ABI case, and will return false for cases where it shouldn't. The comment is to clear up the reason for the CC = CM_Other && TI.getCXXABI() == TargetCXXABI::Microsoft check which we need to add. |
Please use the American spelling, "honor."