[PATCH] D45164: [MC] Change AsmParser to leverage Assembler during evaluation
Nirav Dave via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 23 08:26:04 PDT 2018
niravd added a comment.
Ping. Just a recap out the state of this patch:
- Assembler information is only enabled for compilation from assembly to object files (compilation from LLVM IR/ C will be equivalent between assembly and objects)
- I've most of a follow up patch which merges the AsmSstreamer and ObjectStreamer, emitting assertion checks in the simplified assembly where decisions that may not be upheld by the eventual assembler are checked.
- With this we can evaluated at parse time relative offset differences in sections with fixed sized values (data and non-relaxable instructions). The GNU assembler appears to to marginally better in that it only requires the bits between the offsets are known size, but appears non-essential and can be added afterwards.
Repository:
rL LLVM
https://reviews.llvm.org/D45164
More information about the llvm-commits
mailing list