[PATCH] D60489: [LLVM-C] Add DIFile Field Accesssors
Robert Widmann via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 15 07:23:51 PDT 2019
CodaFi added a comment.
A `DISubprogram` is a kind of `DIScope` so you can use `LLVMDIScopeGetFile` and the rest of the accessors to poke at their metadata. For Global Variables, the idea should be to add corresponding accessors for the scope, file, name, source, and directory since these nodes do not store DILocations. It seems like the latter is pressing, so I'll make a patch for it in a bit.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60489/new/
https://reviews.llvm.org/D60489
More information about the llvm-commits
mailing list