[PATCH] D81341: [LLVM-C] Add C API for removing global

Kihong Heo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 8 16:39:49 PDT 2020


KihongHeo added a comment.

@efriedma Thanks for your suggestion. I updated the diff via arc.

I wanted to make the C-library expose APIs consistently. `LLVMRemoveBasicBlockFromParent` and `LLVMInstructionRemoveFromParent` are already there but not for global variable.

What do you mean by leak?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81341





More information about the llvm-commits mailing list