-
Notifications
You must be signed in to change notification settings - Fork 15.5k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillatools:llvm-aswontfixIssue is real, but we can't or won't fix it. Not invalidIssue is real, but we can't or won't fix it. Not invalid
Description
| Bugzilla Link | 3013 |
| Resolution | WONTFIX |
| Resolved on | Nov 04, 2008 10:35 |
| Version | 2.3 |
| OS | Linux |
| Reporter | LLVM Bugzilla Contributor |
Extended Description
If I try to assemble an LLVM IR file with a block missing a terminator instruction, like the following example:
define i32 @main() {
br i1 true, label %foo, label %bar
foo:
add i32 1, 2
br label %5
bar:
ret i32 0
}
i get an error message like the following:
llvm-as: no-terminator.ll:11,0: Undefined reference to label
This does not in any way point me to the missing terminator instruction for the "foo" block, although this is the actual cause of the error. llvm-as should ideally detect the missing terminator and report that instead, or at least in addition, to the above message.
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillatools:llvm-aswontfixIssue is real, but we can't or won't fix it. Not invalidIssue is real, but we can't or won't fix it. Not invalid