[PATCH] D69411: [MC] Parse .if conditions with symbols in consecutive MCDataFragements

Jian Cai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 17 16:13:17 PDT 2020


jcai19 updated this revision to Diff 286172.
jcai19 added a comment.

Limit the scope to fragments in the same subsection (fragments not in any subsections are placed in subsection 0). Fragments are inserted into each subsection in order and the difference of their offsets should be fixed once they are inserted. This is experimental as it breaks many tests. Will address the test failure if this idea is proven correct.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69411/new/

https://reviews.llvm.org/D69411

Files:
  llvm/include/llvm/MC/MCFragment.h
  llvm/lib/MC/MCExpr.cpp
  llvm/test/MC/ARM/directive_if_offset.s
  llvm/test/MC/ARM/directive_if_offset_error.s
  llvm/test/MC/ARM/thumb2_directive_if_offset_error.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69411.286172.patch
Type: text/x-patch
Size: 6606 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200817/40171eb9/attachment.bin>


More information about the llvm-commits mailing list