[lld] r250725 - Fix comment.

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 20 08:09:44 PDT 2015


On 20 October 2015 at 02:59, Sean Silva <chisophugis at gmail.com> wrote:
> Not sure how much overhead this is causing for you LLD developers (then
> again, issues may be lurking unnoticed), but we could maybe add
> `CHECK-EXPRESSION` to FileCheck that evaluates the expression and verifies
> it is true?
>
> As a bonus we could use FileCheck's existing variable capture mechanism to
> substitute in values directly. Seems like all that is needed is a precedence
> parser/evaluator for `+` `-` `==`, parentheses, and hex/dec literals, which
> should be pretty tiny.

Just being able to write something like [[Foo+1]] which evaluates to
hex/dec based of Foo itself being hex or dec would already solve most
of the problem I think. Specially if we change llvm-objdump to print
in hex.

Cheers,
Rafael


More information about the llvm-commits mailing list