[llvm-dev] RFC: [MC] Calculate difference of symbols in two consecutive MCDataFragments
Jian Cai via llvm-dev
llvm-dev at lists.llvm.org
Tue Nov 5 12:07:36 PST 2019
I've been trying to add support to the integrated assembler to handle cases
foo:instr; .if . - foo; instr; .endif
when the dot symbol and foo are assigned to consecutive MCDataFragments
<https://github.com/ClangBuiltLinux/linux/issues/744>. I have a patch
<https://reviews.llvm.org/D6941> under review. And even though it seems to
solve the problem, the concern is it complicates the code and we would like
to know if there is more decent way to handle this. Please feel free to
share your thoughts.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev