dblaikie added a comment.

Looks like GCC emits aliases as a `DW_TAG_variable` without a location, not as 
a `DW_TAG_imported_declaration` - what gave you the inspiration to do it in 
this way? (I think it's probably good, but DWARF doesn't lend itself to novelty 
so much... can be good to stick with how other folks already do things since 
it'll be what consumers already know how to handle)

How's this work if the alias target isn't declared in the source - but in 
inline assembly instead? (I guess GCC probably handles that OK, but the Clang 
strategy here might not cope with it)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103131/new/

https://reviews.llvm.org/D103131

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to