DescriptionFix error reporting in the PNaCl bitcode reader.
When LLVM 3.5 was merged, the handling of errors was not fixed.
The effect is that error messages do not percolate up to the
top-level routines (Which expect: ErrorOr<Module*>). Rather,
pnacl-llc (and similar reading tools) core dump if there is
an error in the bitcode file.
This CL fixes this issue.
BUG= https://code.google.com/p/nativeclient/issues/detail?id=4006
R=jvoung@chromium.org
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-llvm.git;a=commit;h=12f562956efe164da47f3134eff27b56e4f56174
Patch Set 1 #Patch Set 2 : Fix nits. #
Total comments: 49
Patch Set 3 : Fix issues and add test case. #
Total comments: 16
Patch Set 4 : Fix issues in patch set 3. #Patch Set 5 : Fix issue in patch set 3. #Patch Set 6 : Fix typo. #
Messages
Total messages: 12 (1 generated)
|