[PATCH] D60725: [LLVM-C] Add Accessors For Global Variable Metadata Properties

Josh Berdine via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 16 13:35:37 PDT 2019


jberdine accepted this revision.
jberdine added a comment.
This revision is now accepted and ready to land.

Thanks! These are working for me, though I needed to expose one more function, see D60795 <https://reviews.llvm.org/D60795> (and feel free to incorporate it into this one).

One build-breaking typo noted inline.



================
Comment at: llvm/lib/IR/DebugInfo.cpp:1257
+    LLVMMetadataRef GVE) {
+  return wrap(unwrapDI<DIGlobalVariableExpression>(GVE)->getExpresssion());
+}
----------------
s/getExpresssion/getExpression/


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D60725





More information about the llvm-commits mailing list