Displaying 1 result from an estimated 1 matches for "dw_macro_define_strx".
2020 Jan 02
2
Query/Suggestions on upgrading macro infrastructure.
...ied to a
particular version(v4 macinfo). For instance, consider this snippet from
CLANG:
Gen->getCGDebugInfo()->CreateMacro(getCurrentScope(),
llvm::dwarf::DW_MACINFO_define,
> location, Name.str(), Value.str()).
- So, let's say you want to add support for a new form
/DW_MACRO_define_strx/, with existing infrastructure, you can't do this
without polluting code with lot of if-else. This is just to highlight the
problem, there are numerous areas where we will have to add if-else.
- DWARF forms[DW_MACINFO*] are unnecessarily hard-coded in CLANG,
resulting in...