http://llvm.org/bugs/show_bug.cgi?id=22368
Bug ID: 22368
Summary: LLVMParseBitcode and LLVMParseBitcodeInContext exit on
error
Product: new-bugs
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
LLVMParseBitcode() and LLVMParseBitcodeInContext() are specified to return true
on error, false if ok; they also put the error message in the given
pointer-to-string.
However, with 3.6rc1, those functions now exit(1) on error. This is because of
LLVMContext::diagnose(). From C code there is therefore no obvious way to get
back an error properly.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs