HomePhabricator

[MC] Resolve the difference of symbols in consecutive MCDataFragements
Audit Required415a4fbea7c1

Authored by jcai19 on Sep 9 2020, 11:58 AM.

Description

[MC] Resolve the difference of symbols in consecutive MCDataFragements

Try to resolve the difference of two symbols in consecutive MCDataFragments.
This is important for an idiom like "foo:instr; .if . - foo; instr; .endif"
(https://bugs.llvm.org/show_bug.cgi?id=43795).

Reviewed By: nickdesaulniers

Differential Revision: https://reviews.llvm.org/D69411