[all-commits] [llvm/llvm-project] 5d5757: [MC] Recursively calculate symbol offset

Leonard Grey via All-commits all-commits at lists.llvm.org
Wed Oct 20 11:37:52 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d57578a4e48e4b4cdd41533670a012ad265c8a1
      https://github.com/llvm/llvm-project/commit/5d57578a4e48e4b4cdd41533670a012ad265c8a1
  Author: Leonard Grey <lgrey at chromium.org>
  Date:   2021-10-20 (Wed, 20 Oct 2021)

  Changed paths:
    M llvm/lib/MC/MCFragment.cpp
    A llvm/test/MC/MachO/chained-alias-offset.s

  Log Message:
  -----------
  [MC] Recursively calculate symbol offset

This is speculative since I'm not sure if there's some implicit contract that a
variable symbol must not have another variable symbol in its evaluation tree.

Downstream bug: https://bugs.chromium.org/p/chromium/issues/detail?id=471146#c23.

Test is based on alias.s (removed checks since we just need to know it didn't
crash).

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




More information about the All-commits mailing list