[all-commits] [llvm/llvm-project] 432299: [MC] Don't evaluate name of unnamed symbols (#95021)

aengelke via All-commits all-commits at lists.llvm.org
Mon Jun 10 12:29:25 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 43229977fe0f74bcdfeda20e478065a2072a1846
      https://github.com/llvm/llvm-project/commit/43229977fe0f74bcdfeda20e478065a2072a1846
  Author: aengelke <engelke at in.tum.de>
  Date:   2024-06-10 (Mon, 10 Jun 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCContext.h
    M llvm/lib/MC/MCContext.cpp

  Log Message:
  -----------
  [MC] Don't evaluate name of unnamed symbols (#95021)

There's only one way to create unnamed symbols (createTempSymbol).
Previously, the name was evaluated unconditionally, but often
unnecessarily. Avoid this.

Also the parameter names in the header were wrong, fix these.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list