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

Issue 1972042: Review: restore doInitialization/doFinalization (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 8 months ago by larrygritz
Modified:
13 years, 8 months ago
Reviewers:
ckulla
CC:
dev-osl_imageworks.com, osl-dev_googlegroups.com
Base URL:
http://openshadinglanguage.googlecode.com/svn/trunk/
Visibility:
Public.

Description

LLVM tweaks: I had commented out the doInitialization/doFinalization calls to the pass manager because they didn't seem to do anything useful. But on a hunch after some very rare crashes (maybe 1 in 20, not reliable) decided to restore them. Now no crashes (for at least a couple hundred runs, so at the very least it's much rarer).

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -9 lines) Patch
src/liboslexec/llvm_instance.cpp View 4 chunks +7 lines, -9 lines 2 comments Download

Messages

Total messages: 5
larrygritz
13 years, 8 months ago (2010-08-12 01:09:37 UTC) #1
ckulla
http://codereview.appspot.com/1972042/diff/1/2 File src/liboslexec/llvm_instance.cpp (right): http://codereview.appspot.com/1972042/diff/1/2#newcode3675 src/liboslexec/llvm_instance.cpp:3675: #if 0 You also commented out these opts - ...
13 years, 8 months ago (2010-08-12 01:11:54 UTC) #2
larrygritz
http://codereview.appspot.com/1972042/diff/1/2 File src/liboslexec/llvm_instance.cpp (right): http://codereview.appspot.com/1972042/diff/1/2#newcode3675 src/liboslexec/llvm_instance.cpp:3675: #if 0 On 2010/08/12 01:11:54, ckulla wrote: > You ...
13 years, 8 months ago (2010-08-12 01:14:48 UTC) #3
ckulla
LGTM then :) So is it the doInitialization change that fixes the crashes? Or commenting ...
13 years, 8 months ago (2010-08-12 01:19:00 UTC) #4
lg_imageworks.com
13 years, 8 months ago (2010-08-12 03:17:53 UTC) #5
On Aug 11, 2010, at 6:19 PM, <ckulla@gmail.com> <ckulla@gmail.com> wrote:

> 
> So is it the doInitialization change that fixes the crashes? Or
> commenting out the extra optimizations?

Not sure, but I'll try to figure it out after I commit the change that seems to
fix things.

--
Larry Gritz
lg@imageworks.com




Sign in to reply to this message.

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