aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/Utils/WebAssemblyUtilities.cpp
diff options
context:
space:
mode:
authorAnirudh Prasad <anirudh_prasad@hotmail.com>2021-05-26 10:49:39 -0400
committerAnirudh Prasad <anirudh_prasad@hotmail.com>2021-05-26 10:49:57 -0400
commit1bc0e857bfd4d5a10675b5b75494c2ea6cff7c78 (patch)
tree843324b05c3653c31dae241b2b3049503ca22435 /llvm/lib/Target/WebAssembly/Utils/WebAssemblyUtilities.cpp
parentfcd32d62c0675abccac7b7f919bb0df52b6c4262 (diff)
downloadllvm-1bc0e857bfd4d5a10675b5b75494c2ea6cff7c78.zip
llvm-1bc0e857bfd4d5a10675b5b75494c2ea6cff7c78.tar.gz
llvm-1bc0e857bfd4d5a10675b5b75494c2ea6cff7c78.tar.bz2
[SystemZ][z/OS] Enable the AllowAtInName attribute for the HLASM dialect
- Currently, LLVM supports symbols of the name "token1@token2". - "token2" is used to identify whether an appropriate symbol reference can be used for the symbol. - Now, if the symbol reference couldn't be found, the AsmParser usually emits an error, unless the backend is configured to accept the "@" in a symbol name - Thus, this patch aims to do that. It sets the `AllowAtInName` attribute in the SystemZ backend for the HLASM dialect. - Setting this attribute ensures that, if a particular symbol reference is found, it uses that. If it doesn't, and there exists an "@" in the symbol name, it will use that instead of explicitly erroring out. Reviewed By: uweigand Differential Revision: https://reviews.llvm.org/D103111
Diffstat (limited to 'llvm/lib/Target/WebAssembly/Utils/WebAssemblyUtilities.cpp')
0 files changed, 0 insertions, 0 deletions