Displaying 3 results from an estimated 3 matches for "cd5edd2".
2014 Dec 11
2
[LLVMdev] Metadata/Value split has landed
...Hi Duncan,
This patch plus another small change fixes the assertion failure for
me. With the patch alone, the void* overload of addGarbageObject()
was being used by MDNode::getTemporary(), so I had to cast the object as
an MDNode*:
diff --git a/lib/IR/Metadata.cpp b/lib/IR/Metadata.cpp
index cd5edd2..916d216 100644
--- a/lib/IR/Metadata.cpp
+++ b/lib/IR/Metadata.cpp
@@ -564,7 +564,7 @@ MDNode *MDNode::getMDNode(LLVMContext &Context,
ArrayRef<Metadata *> MDs,
MDNodeFwdDecl *MDNode::getTemporary(LLVMContext &Context,
ArrayRef<Metadata *>...
2014 Dec 11
2
[LLVMdev] Metadata/Value split has landed
...ixes the assertion failure for
>> me. With the patch alone, the void* overload of addGarbageObject()
>> was being used by MDNode::getTemporary(), so I had to cast the object as
>> an MDNode*:
>>
>> diff --git a/lib/IR/Metadata.cpp b/lib/IR/Metadata.cpp
>> index cd5edd2..916d216 100644
>> --- a/lib/IR/Metadata.cpp
>> +++ b/lib/IR/Metadata.cpp
>> @@ -564,7 +564,7 @@ MDNode *MDNode::getMDNode(LLVMContext &Context,
>> ArrayRef<Metadata *> MDs,
>> MDNodeFwdDecl *MDNode::getTemporary(LLVMContext &Context,
>>...
2014 Dec 10
3
[LLVMdev] Metadata/Value split has landed
> On 2014 Dec 10, at 14:08, Tom Stellard <tom at stellard.net> wrote:
>
> On Wed, Dec 10, 2014 at 11:21:08AM -0800, Duncan P. N. Exon Smith wrote:
>>
>>> On 2014 Dec 10, at 08:40, Tom Stellard <tom at stellard.net> wrote:
>>>
>>> On Tue, Dec 09, 2014 at 09:22:16PM -0800, Duncan P. N. Exon Smith wrote:
>>>> The `Metadata`/`Value`