-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Closed
Labels
Description
| Bugzilla Link | 3363 |
| Resolution | FIXED |
| Resolved on | Jan 20, 2009 15:44 |
| Version | trunk |
| OS | other |
| Reporter | LLVM Bugzilla Contributor |
Extended Description
Running as isn't strictly portable to systems that default to x86-64 codegen.
test/CodeGen/Generic/2008-07-29-EHLabel.ll
is the only testcase that appears to do this. I get:
FAIL: /Volumes/mrs5/net/clang/clang/clang/test/CodeGen/Generic/2008-07-29-EHLabel.ll for #2981
Doing diffs in test:
--- test/CodeGen/Generic/2008-07-29-EHLabel.ll.1 2009-01-02 11:47:41.000000000 -0800
+++ test/CodeGen/Generic/2008-07-29-EHLabel.ll 2009-01-20 11:59:27.000000000 -0800
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -o - | as -o /dev/null
+; RUN: llvm-as < %s | llc -o - | as -arch i386 -o /dev/null
; #2981
%struct..0._11 = type { i32 }
%struct..1__pthread_mutex_s = type { i32, i32, i32, i32, i32, %struct..0._11 }
fixes it for me, but -arch i386 might not be as portable as I'd hope. Can someone try that on linux say, and if it works there, we can drive it that way, otherwise, we need to call a driver with more beef.