[llvm-branch-commits] [llvm] [GOFF] Add writing of section symbols (PR #133799)
Kai Nacke via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Apr 4 17:24:02 PDT 2025
redstar wrote:
I refactored the code in the suggested way. Some notes:
- I section to emit the code/data is either the ED or the PR. The other sections are linked via the `Parent` pointer. `MCGOFFStreamer::changeSection()` makes sure that all sections are registered in the correct order.
- I use the ordinal number +1 of the section as the section number, but still need a counter for the symbols.
- I still need to check that the LD symbols are emitted in the correct order.
- The textual output is currently not correct.
https://github.com/llvm/llvm-project/pull/133799
More information about the llvm-branch-commits
mailing list