aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorAnirudh Prasad <anirudh_prasad@hotmail.com>2021-06-24 12:49:38 -0400
committerAnirudh Prasad <anirudh_prasad@hotmail.com>2021-06-24 12:50:11 -0400
commit631362665c3b3271736fee070f6b553c099250d8 (patch)
tree16a835aaffa3caddc03a28394412fcf7e1f01230 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parent1ca4cf9b242b627a2414c377214998d180d4dcf6 (diff)
downloadllvm-631362665c3b3271736fee070f6b553c099250d8.zip
llvm-631362665c3b3271736fee070f6b553c099250d8.tar.gz
llvm-631362665c3b3271736fee070f6b553c099250d8.tar.bz2
[AsmParser][SystemZ][z/OS] Support for emitting labels in upper case
- Currently, the emitting of labels in the parsePrimaryExpr function is case independent. It just takes the identifier and emits it. - However, for HLASM the emitting of labels is case independent. We are emitting them in the upper case only, to enforce case independency. So we need to ensure that at the time of parsing the label we are emitting the upper case (in `parseAsHLASMLabel`), but also, when we are processing a PC-relative relocatable expression, we need to ensure we emit it in upper case (in `parsePrimaryExpr`) - To achieve this a new MCAsmInfo attribute has been introduced which corresponding targets can override if needed. Reviewed By: abhina.sreeskantharajan, uweigand Differential Revision: https://reviews.llvm.org/D104715
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions