[PATCH] Fix LLVMSetMetadata for MDNodes that contain a single value

Björn Steinbrink bsteinbr at gmail.com
Wed Jan 28 02:12:39 PST 2015


Added an MDNode extraction function with proper assertions, fixed
LLVMAddNamedMetadataOperand, and wrote a test for it.


http://reviews.llvm.org/D7165

Files:
  lib/IR/Core.cpp
  test/Bindings/llvm-c/add_named_metadata_operand.ll
  test/Bindings/llvm-c/set_metadata.ll
  tools/llvm-c-test/CMakeLists.txt
  tools/llvm-c-test/llvm-c-test.h
  tools/llvm-c-test/main.c
  tools/llvm-c-test/metadata.c

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7165.18881.patch
Type: text/x-patch
Size: 5608 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150128/95f2aa8d/attachment.bin>


More information about the llvm-commits mailing list