[all-commits] [llvm/llvm-project] 2b0256: [MC] Ignore VK_WEAKREF in MCValue::getAccessVariant

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Dec 15 16:07:07 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b0256e49bbe5c0dc9c8f4800b1e2f131026cb45
      https://github.com/llvm/llvm-project/commit/2b0256e49bbe5c0dc9c8f4800b1e2f131026cb45
  Author: Fangrui Song <maskray at google.com>
  Date:   2019-12-15 (Sun, 15 Dec 2019)

  Changed paths:
    M llvm/lib/MC/MCValue.cpp

  Log Message:
  -----------
  [MC] Ignore VK_WEAKREF in MCValue::getAccessVariant

MCSymbolRefExpr::getVariantKindForName does not return VK_WEAKREF, so this code path is not exercised. Moreoever, .weakref is probably a feature that nobody uses.




More information about the All-commits mailing list