[PATCH] D46792: [LLVM-C] Add Bindings For Module Flags

Robert Widmann via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 11 21:17:40 PDT 2018


CodaFi created this revision.
CodaFi added a reviewer: whitequark.
Herald added a reviewer: deadalnix.
Herald added subscribers: llvm-commits, JDevlieghere, aprantl.

The first foray into merging debug info into the echo tests.

- Add bindings to Module::getModuleFlagsMetadata() in the form of LLVMCopyModuleFlagsMetadata
- Add the opaque type LLVMModuleFlagEntry to represent Module::ModuleFlagEntry
- Add accessors for LLVMModuleFlagEntry's behavior, key, and metadata node.


Repository:
  rL LLVM

https://reviews.llvm.org/D46792

Files:
  include/llvm-c/Core.h
  include/llvm-c/Types.h
  lib/IR/Core.cpp
  test/Bindings/llvm-c/echo.ll
  tools/llvm-c-test/echo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46792.146459.patch
Type: text/x-patch
Size: 9711 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180512/64617885/attachment.bin>


More information about the llvm-commits mailing list