[llvm] [AsmPrinter] Fix crash when remarks section is unsupported (PR #144724)

Jon Roelofs via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 18 08:52:06 PDT 2025


================
@@ -22,3 +24,6 @@
 define void @func1() {
   ret void
 }
+
+; Currently no ELF support for bitstream remarks
+; CHECK-LINUX-DEFAULT-BITSTREAM: warning: Current object file format does not support remarks sections.
----------------
jroelofs wrote:

```suggestion
; CHECK-LINUX-DEFAULT-BITSTREAM: warning: Current object file format does not support remarks sections. Use the yaml remark format instead.
```

https://github.com/llvm/llvm-project/pull/144724


More information about the llvm-commits mailing list