[all-commits] [llvm/llvm-project] dfd1a8: [CFI] Don't create alias->alias chains. (#225951)

Mircea Trofin via All-commits all-commits at lists.llvm.org
Wed Sep 23 20:02:39 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dfd1a85c6109d5a8bf9894d99e034ca178bb69f6
      https://github.com/llvm/llvm-project/commit/dfd1a85c6109d5a8bf9894d99e034ca178bb69f6
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    M llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
    M llvm/test/Transforms/ThinLTOBitcodeWriter/comdat.ll
    A llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal-alias.ll

  Log Message:
  -----------
  [CFI] Don't create alias->alias chains. (#225951)

Discovered downstream after PR #225173, when CFI and HWASAN are
combined.

See also
https://github.com/llvm/llvm-project/pull/225173#issuecomment-5802301926

If there is an alias, we should leave it alone, find its aliasee, and
create a new external linkage alias to that. Even if local linkage, the
existing alias may be referenced by name by e.g. inline assembly.



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