This is in preparation for an upcoming patch to implement the producer side of DWARF v5 string offsets tables. We'd like to use AsmPrinter's emitDwarfStringOffsets() with a simple DwarfStringPoolEntry record in order to emit string offsets from the DwarfStringPool class directly. Currently the method only takes a DwarfStringPoolEntryRef, which is awkward to construct from a DwarfStringPoolEntry and would create unnecessary overhead.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Could you please upload patches with more context in the future? git diff -U9999 is good :-)
include/llvm/CodeGen/DwarfStringPoolEntry.h | ||
---|---|---|
44 ↗ | (On Diff #129347) | Comment perhaps? |
Comment Actions
Yeah, sorry, I usually do that. Somehow I forgot to do it this time.
Thanks for the quick review.
include/llvm/CodeGen/DwarfStringPoolEntry.h | ||
---|---|---|
44 ↗ | (On Diff #129347) | Mostly a convenience, so the caller doesn't have to puzzle the string pool entry together from its components. I add a comment before I commit. |