diff options
| author | Anirudh Prasad <anirudh_prasad@hotmail.com> | 2021-05-26 10:36:50 -0400 | 
|---|---|---|
| committer | Anirudh Prasad <anirudh_prasad@hotmail.com> | 2021-05-26 10:37:09 -0400 | 
| commit | b37a2fcd8d7c59c3db4b1c64bbdba6d1bbea9e99 (patch) | |
| tree | ae4dcaabf11117337c0b583ca8da95dd1078f88b /llvm/lib/Target/WebAssembly/Utils/WebAssemblyUtilities.cpp | |
| parent | a8f75d497daa2684a03909d7c31d5bce11b427e1 (diff) | |
| download | llvm-b37a2fcd8d7c59c3db4b1c64bbdba6d1bbea9e99.zip llvm-b37a2fcd8d7c59c3db4b1c64bbdba6d1bbea9e99.tar.gz llvm-b37a2fcd8d7c59c3db4b1c64bbdba6d1bbea9e99.tar.bz2 | |
[SystemZ][z/OS] Validate symbol names for z/OS for printing without quotes
- Currently, before printing a label in MCSymbol.cpp (MCSymbol::print), the current code "validates" the label that is to be printed.
- If it fails the validation step, then it prints the label within double quotes.
- However, the validation is provided as a virtual function in MCAsmInfo.h (i.e. isAcceptableChar() function). So we can override this for the AD_HLASM dialect in SystemZMCAsmInfo.cpp.
Reviewed By: uweigand
Differential Revision: https://reviews.llvm.org/D103091
Diffstat (limited to 'llvm/lib/Target/WebAssembly/Utils/WebAssemblyUtilities.cpp')
0 files changed, 0 insertions, 0 deletions
