Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(999)

Issue 8437024: Bitcode parsing modifications for streaming (Closed)

Created:
9 years, 1 month ago by (google.com) Derek Schuff
Modified:
8 years, 8 months ago
Reviewers:
pnacl-team, jasonwkim
CC:
native-client-reviews_googlegroups.com
Visibility:
Public.

Description

DEPRECATED: these changes have been rolled into http://codereview.chromium.org/8393017/ (this CL still just shows the parsing-related changes however.) Bitcode parsing modifications to enable streaming Write metadata and value symtable before function bodies in bitcode Make Module parsing suspendable/resumable (if using streaming, suspend after each function body and resume on Materialize) still has some debug printfs and a couple of TODOs, but the basic idea is here and works.

Patch Set 1 #

Total comments: 4

Patch Set 2 : rebase against upstream LLVM #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -10 lines) Patch
M lib/Bitcode/Reader/BitcodeReader.h View 2 chunks +5 lines, -1 line 0 comments Download
M lib/Bitcode/Reader/BitcodeReader.cpp View 1 6 chunks +58 lines, -4 lines 0 comments Download
M lib/Bitcode/Writer/BitcodeWriter.cpp View 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
(google.com) Derek Schuff
Prototype modifications for streaming now pass SPEC. documentation forthcoming in the design doc
9 years, 1 month ago (2011-11-02 00:01:47 UTC) #1
(google.com) Derek Schuff
Fix email addresses On 2011/11/02 00:01:47, Derek Schuff wrote: > Prototype modifications for streaming now ...
9 years, 1 month ago (2011-11-02 00:08:30 UTC) #2
jasonwkim
On 2011/11/02 00:08:30, Derek Schuff wrote: > Fix email addresses > On 2011/11/02 00:01:47, Derek ...
9 years, 1 month ago (2011-11-03 17:53:38 UTC) #3
jasonwkim
http://codereview.chromium.org/8437024/diff/1/lib/Bitcode/Reader/BitcodeReader.cpp File lib/Bitcode/Reader/BitcodeReader.cpp (right): http://codereview.chromium.org/8437024/diff/1/lib/Bitcode/Reader/BitcodeReader.cpp#newcode1564 lib/Bitcode/Reader/BitcodeReader.cpp:1564: // TODO(dschuff) this probably only needs to be done ...
9 years, 1 month ago (2011-11-03 17:54:08 UTC) #4
(google.com) Derek Schuff
9 years, 1 month ago (2011-11-03 18:01:26 UTC) #5
This is not a final CL BTW. the TODOs will go away, at the very least.

http://codereview.chromium.org/8437024/diff/1/lib/Bitcode/Reader/BitcodeReade...
File lib/Bitcode/Reader/BitcodeReader.cpp (right):

http://codereview.chromium.org/8437024/diff/1/lib/Bitcode/Reader/BitcodeReade...
lib/Bitcode/Reader/BitcodeReader.cpp:1564: // TODO(dschuff) this probably only
needs to be done once (currently it's a
These will go away before I upstream it.

On 2011/11/03 17:54:09, jasonwkim wrote:
> I think upstream guys dont like TODO(username) - 
> you might want to change it if you are planning to upstream (you should :-)

http://codereview.chromium.org/8437024/diff/1/lib/Bitcode/Writer/BitcodeWrite...
File lib/Bitcode/Writer/BitcodeWriter.cpp (right):

http://codereview.chromium.org/8437024/diff/1/lib/Bitcode/Writer/BitcodeWrite...
lib/Bitcode/Writer/BitcodeWriter.cpp:1616: // Emit function bodies.
It is explained in the design document, in the "bitcode parsing" section under
proposed changes

On 2011/11/03 17:54:09, jasonwkim wrote:
> can you explain why you needed to move this block?

Powered by Google App Engine
This is Rietveld 408576698