search for: createmacro

Displaying 1 result from an estimated 1 matches for "createmacro".

2020 Jan 02
2
Query/Suggestions on upgrading macro infrastructure.
...==== While implementing support for the DWARFv5 debug_macro section support in LLVM. I came across these holes: - The macros infrastructure in CLANG/LLVM is inherently tied 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 jus...