[all-commits] [llvm/llvm-project] 5835f1: [AsmPrinter] Fix crash when remarks section is uns...

Tobias Stadler via All-commits all-commits at lists.llvm.org
Fri Jun 20 04:55:32 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5835f1e0a33afcae46a6ca4854373785eb3e7fd6
      https://github.com/llvm/llvm-project/commit/5835f1e0a33afcae46a6ca4854373785eb3e7fd6
  Author: Tobias Stadler <mail at stadler-tobias.de>
  Date:   2025-06-20 (Fri, 20 Jun 2025)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/test/CodeGen/X86/remarks-section.ll

  Log Message:
  -----------
  [AsmPrinter] Fix crash when remarks section is unsupported (#144724)

Emit a warning and bail out instead of segfault-ing when the current
object file format does not have support for emitting a remarks section.



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