Add a new wrapper function addAttribute() for Die.addValue() function, so we can do some attributes control in one single interface.
This is used for strict dwarf in patch D101024
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h | ||
---|---|---|
79 | I'd prefer 'typename' rather than 'class' here (since that's what templates really take - types of any kind, not only classes). I think LLVM probably leans that way generally. | |
82 | Perhaps this function could use the DIEValueAllocator member directly, rather than having to pass it in - since all the callers pass the same value? |
I'd prefer 'typename' rather than 'class' here (since that's what templates really take - types of any kind, not only classes). I think LLVM probably leans that way generally.