[all-commits] [llvm/llvm-project] def615: [MC] Restore a special case to support limited A-B...

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Jun 16 17:09:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: def6158f957e77d67f74aa9c8bb342c4b64a159b
      https://github.com/llvm/llvm-project/commit/def6158f957e77d67f74aa9c8bb342c4b64a159b
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-06-16 (Fri, 16 Jun 2023)

  Changed paths:
    M llvm/lib/MC/MCExpr.cpp
    A llvm/test/MC/ELF/subsection-if.s

  Log Message:
  -----------
  [MC] Restore a special case to support limited A-B folding when A/B are in the same fragment being laided out

Add subsection-if.s to test what we can fold (in the same fragment) and what we cannot.

Fix https://github.com/ClangBuiltLinux/linux/issues/1876
Fixes: 4bdc7f7a331f82cca1637388cf68bdc5b32ab43b




More information about the All-commits mailing list