[llvm-branch-commits] [llvm] [GOFF] Add writing of text records (PR #137235)
Kai Nacke via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Apr 29 07:34:37 PDT 2025
redstar wrote:
> Why do we need all that "virtual section" stuff? Wouldn't it suffice to exit early from ::writeText if the section length is zero?
A virtual sections cannot contain data, and the MC layer checks that this is the case. This is the benefit I see in using a virtual sections. But of course, it is sufficient to just check the section length.
https://github.com/llvm/llvm-project/pull/137235
More information about the llvm-branch-commits
mailing list