[flang-commits] [flang] [mlir] [mlir][debuginfo] Add support for subprogram annotations (PR #110946)

Walter Erquinigo via flang-commits flang-commits at lists.llvm.org
Fri Oct 4 13:25:52 PDT 2024


walter-erquinigo wrote:

> This is information that is not represented in IR? What is the LLVM IR output of your export test? I would expect that this is somehow shown in the IR.

I was able to figure out how to write that

```
!16 = !{!17}
!17 = !{!"foo", !"bar"}
```

I just found a crash in the import and I'm on way to fix it. Thanks for pointing out to this obvious thing I should have done  (reading the exported IR)

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


More information about the flang-commits mailing list