Displaying 7 results from an estimated 7 matches for "getmdnode".
Did you mean:
get_node
2011 Feb 20
2
[LLVMdev] How do I free the metadata?
...that I cannot
enable debug information.
With debug, linking a single .o into a .so with valgrind shows:
==24373== 36,311,472 bytes in 71,717 blocks are possibly lost in loss
record 1,192 of 1,192
==24373== at 0x4C2815C: malloc (vg_replace_malloc.c:236)
==24373== by 0x6CD42C4: llvm::MDNode::getMDNode(llvm::LLVMContext&,
llvm::Value* const*, unsigned int, llvm::MDNode::FunctionLocalness,
bool) (Metadata.cpp:226)
The file itself is 4.5MB, so 36MB from just this allocation spot is a
lot. Having 71,717 blocks also suggests that we should be using some pool.
For now I would be more then happy...
2016 Oct 29
1
Problems with Inline ASM expressions generated in the back end
Hello.
I generated in the back end by hand (in C++ code, not with TableGen) some fancy
assembly code using Inline ASM expressions and if I use 2 functions in my source code (but
NOT just 1 function; I will not present the functions, but each requires me to generate an
Inline ASM expression) I get this error at compilation (at scheduling):
BB#0: derived from LLVM BB %entry
2011 Feb 21
0
[LLVMdev] How do I free the metadata?
...mation.
>
> With debug, linking a single .o into a .so with valgrind shows:
>
> ==24373== 36,311,472 bytes in 71,717 blocks are possibly lost in loss
> record 1,192 of 1,192
> ==24373== at 0x4C2815C: malloc (vg_replace_malloc.c:236)
> ==24373== by 0x6CD42C4: llvm::MDNode::getMDNode(llvm::LLVMContext&,
> llvm::Value* const*, unsigned int, llvm::MDNode::FunctionLocalness,
> bool) (Metadata.cpp:226)
>
> The file itself is 4.5MB, so 36MB from just this allocation spot is a
> lot. Having 71,717 blocks also suggests that we should be using some pool.
>
> Fo...
2014 Dec 11
2
[LLVMdev] Metadata/Value split has landed
...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 *> MDs) {
MDNodeFwdDecl *N = new (MDs.size()) MDNodeFwdDecl(Context, MDs);
- LeakDetector::addGarbageObject(N);
+...
2014 Dec 11
2
[LLVMdev] Metadata/Value split has landed
...de::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 *> MDs) {
>> MDNodeFwdDecl *N = new (MDs.size()) MDNodeFwdDecl(Context, MDs);
>&g...
2015 Mar 30
3
[LLVMdev] Invalid or unaligned stack
Hi,
I am encountering a problem that I do not know how to debug. I would
greatly appreciate any guidance on this issue.
On Windows when I run Lua test cases from JITed code I am getting
following error:
Unhandled exception at 0x00007FFCEEEAC500 (ntdll.dll) in lua.exe:
0xC0000028: An invalid or unaligned stack was encountered during an
unwind operation.
This is happening when the Lua code is
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`