aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/CommandLineTest.cpp
diff options
context:
space:
mode:
authorBjorn Steinbrink <bsteinbr@gmail.com>2015-01-28 16:35:59 +0000
committerBjorn Steinbrink <bsteinbr@gmail.com>2015-01-28 16:35:59 +0000
commita09ac0085d33695754f04a66d5e1991b3a96b724 (patch)
tree66d726a4cc166b832e6702abb60588f205c5a5d2 /llvm/unittests/Support/CommandLineTest.cpp
parente13a9624c282e30d0ec0290166cc16dc1892918a (diff)
downloadllvm-a09ac0085d33695754f04a66d5e1991b3a96b724.zip
llvm-a09ac0085d33695754f04a66d5e1991b3a96b724.tar.gz
llvm-a09ac0085d33695754f04a66d5e1991b3a96b724.tar.bz2
Fix LLVMSetMetadata and LLVMAddNamedMetadataOperand for single value MDNodes
Summary: MetadataAsValue uses a canonical format that strips the MDNode if it contains only a single constant value. This triggers an assertion when trying to cast the value to a MDNode. Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D7165 llvm-svn: 227319
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions