[PATCH] D14687: Macro support in LLVM IR

Amjad Aboud via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 8 09:04:15 PST 2015


aaboud added a comment.

In http://reviews.llvm.org/D14687#304938, @aprantl wrote:

> The only concern I've got with this is whether we shouldn't future-proof this by using the DWARF5-style DW_MACRO_.* constants internally, since the old ones aren't even defined in the DWARF5 standard document any more and thus might be harder to find documentation for.
>
> Context: In DWARF5 ( http://dwarfstd.org/ShowIssue.php?issue=110722.1 ) the DW_MACINFO_.* constants will be renamed to DW_MACRO_*. This will be fun to implement in dwarfdump because the same numeric value has different names depending on the DWARF version.


Thanks Adrian for the comment.
I understand your concern, but I think it is not related to this patch of macro support in LLVM IR.
I intentionally, split code into several parts, so the concern can be raised only on the problematic ones.

Do you think that this patch might not fit DWARF5?


Repository:
  rL LLVM

http://reviews.llvm.org/D14687





More information about the llvm-commits mailing list