Nope, looks good to me. GDB doesn't hold pointers to entries in the inferior. http://codereview.appspot.com/569041/diff/1/2 ...
15 years, 10 months ago
(2010-03-16 05:23:42 UTC)
#2
Nope, looks good to me. GDB doesn't hold pointers to entries in the inferior.
http://codereview.appspot.com/569041/diff/1/2
File lib/ExecutionEngine/JIT/JITDebugRegisterer.cpp (right):
http://codereview.appspot.com/569041/diff/1/2#newcode194
lib/ExecutionEngine/JIT/JITDebugRegisterer.cpp:194: JITCodeEntry = NULL;
If you want to erase dangling pointers, there's also the relevant_entry field of
the descriptor.
On Mon, Mar 15, 2010 at 10:23 PM, <reid.kleckner@gmail.com> wrote: > Nope, looks good to ...
15 years, 10 months ago
(2010-03-16 05:56:39 UTC)
#3
On Mon, Mar 15, 2010 at 10:23 PM, <reid.kleckner@gmail.com> wrote:
> Nope, looks good to me. GDB doesn't hold pointers to entries in the
> inferior.
Cool, thanks.
> http://codereview.appspot.com/569041/diff/1/2
> File lib/ExecutionEngine/JIT/JITDebugRegisterer.cpp (right):
>
> http://codereview.appspot.com/569041/diff/1/2#newcode194
> lib/ExecutionEngine/JIT/JITDebugRegisterer.cpp:194: JITCodeEntry = NULL;
> If you want to erase dangling pointers, there's also the relevant_entry
> field of the descriptor.
That one's never read from llvm code, so I don't care as much.
Issue 569041: Free jit_code_entrys from the JITDebugRegisterer
Created 15 years, 10 months ago by Jeffrey Yasskin
Modified 15 years, 10 months ago
Reviewers: Reid Kleckner
Base URL: https://llvm.org/svn/llvm-project/llvm/trunk/
Comments: 1