Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(38)

Issue 569041: Free jit_code_entrys from the JITDebugRegisterer

Can't Edit
Can't Publish+Mail
Start Review
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/
Visibility:
Public.

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M lib/ExecutionEngine/JIT/JITDebugRegisterer.cpp View 2 chunks +4 lines, -1 line 1 comment Download

Messages

Total messages: 3
Jeffrey Yasskin
Am I going to break anything by doing this? I believe it's the last memory ...
15 years, 10 months ago (2010-03-15 17:03:31 UTC) #1
Reid Kleckner
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
Jeffrey Yasskin
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.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b