LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 1328 - llvm-as aborts on no-such-intrinsic error
Summary: llvm-as aborts on no-such-intrinsic error
Status: RESOLVED FIXED
Alias: None
Product: tools
Classification: Unclassified
Component: llvm-as (show other bugs)
Version: trunk
Hardware: All All
: P normal
Assignee: Reid Spencer
URL:
Keywords: crash-on-invalid
Depends on:
Blocks:
 
Reported: 2007-04-14 13:42 PDT by Reid Spencer
Modified: 2010-02-22 12:48 PST (History)
1 user (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Reid Spencer 2007-04-14 13:42:26 PDT
For example:

llvm-as: /proj/llvm/llvm-2/include/llvm/Intrinsics.gen:1208: unsigned int
llvm::Function::getIntrinsicID() const: Assertion `0 && "Unknown LLVM intrinsic
function!"' failed.

This isn't very friendly. It should produce an error message and exit non-zero
instead.