[all-commits] [llvm/llvm-project] 42a3a3: [ThinLTOBitcodeWriter] Do not crash on a typed dec...

Igor Kudrin via All-commits all-commits at lists.llvm.org
Mon Oct 23 14:30:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 42a3a3b3f0e16de5b6aa2bebcb6f794668426cbe
      https://github.com/llvm/llvm-project/commit/42a3a3b3f0e16de5b6aa2bebcb6f794668426cbe
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2023-10-24 (Tue, 24 Oct 2023)

  Changed paths:
    M llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
    A llvm/test/Transforms/ThinLTOBitcodeWriter/split-typed-decl.ll

  Log Message:
  -----------
  [ThinLTOBitcodeWriter] Do not crash on a typed declaration (#69564)

This fixes a crash when `splitAndWriteThinLTOBitcode()` hits a
declaration with type metadata. For example, such declarations can be
generated by the `EliminateAvailableExternally` pass.




More information about the All-commits mailing list