aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WasmObjectFile.cpp
diff options
context:
space:
mode:
authorAnirudh Prasad <Anirudh.Prasad@ibm.com>2021-03-08 09:52:07 -0500
committerKai Nacke <kai@redstar.de>2021-03-08 09:55:39 -0500
commit7a46d34a1953625f03b71494c0f33fe00316e4ba (patch)
tree2ab95dae0d2fe7809847008b71154fdd255c7af8 /llvm/lib/Object/WasmObjectFile.cpp
parente5d958c45629ccd2f5b5f7432756be1d0fcf052c (diff)
downloadllvm-7a46d34a1953625f03b71494c0f33fe00316e4ba.zip
llvm-7a46d34a1953625f03b71494c0f33fe00316e4ba.tar.gz
llvm-7a46d34a1953625f03b71494c0f33fe00316e4ba.tar.bz2
[SystemZ][z/OS] Add support to validate a HLASM Label.
- This patch adds in support to determine whether a particular label is valid for the hlasm variant - The label syntax being checked is that of an ordinary HLASM symbol (Reference, Chapter 2 (Coding and Structure) - Terms, Literals and Expressions - Terms - Symbols - Ordinary Symbol) - To achieve this, the virtual function isLabel defined in MCTargetAsmParser.h is made use of - The isLabel function is overridden in SystemZAsmParser for the hlasm variant, and the syntax is checked appropriately - Things remain unchanged for the att variant - Further patches will add in support to emit the label. These future patches will make use of this isLabel function Reviewed By: uweigand, Kai Differential Revision: https://reviews.llvm.org/D97748
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions