Add MCDwarfLineStr class to the public API.
Note that MCDwarfLineTableHeader::Emit(), takes MCDwarfLineStr as
an Optional<> parameter making it impossible to use the API if the class
is not publicly defined.
Paths
| Differential D109412
[MC] Make MCDwarfLineStr class public ClosedPublic Authored by maksfb on Sep 7 2021, 7:29 PM.
Details Summary Add MCDwarfLineStr class to the public API. Note that MCDwarfLineTableHeader::Emit(), takes MCDwarfLineStr as
Diff Detail
Event TimelineComment Actions Personally patch makes sense. It's inline with all other classes that are exposed, and it's needed for tools that use MC and are working with DWARF 5. Comment Actions Perhaps a unit test demonstrating the sort of thing you want to use this API for?
Presumably you could still pass None to such an API? But yeah, couldn't use whatever functionality is exposed by passing a non-None value. Comment Actions
I couldn't make None work. Still, would like to have the support for DWARF v5 and will need this interface. This revision is now accepted and ready to land.Sep 29 2021, 1:50 PM This revision was landed with ongoing or failed builds.Sep 30 2021, 12:32 PM Closed by commit rG050edef8538e: [MC] Make MCDwarfLineStr class public (authored by maksfb, committed by rafauler). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 376328 llvm/include/llvm/MC/MCDwarf.h
llvm/lib/MC/MCDwarf.cpp
llvm/unittests/MC/CMakeLists.txt
llvm/unittests/MC/DwarfLineTableHeaders.cpp
|