Skip to content

Instantly share code, notes, and snippets.

@marijnh
Created September 22, 2011 09:00
Show Gist options
  • Save marijnh/1234381 to your computer and use it in GitHub Desktop.
Save marijnh/1234381 to your computer and use it in GitHub Desktop.
opt -lint stage1/rustc.bc
WARNING: You're attempting to print out a bitcode file.
This is inadvisable as it may cause display problems. If
you REALLY want to taste LLVM bitcode first-hand, you
can force output with the `-f' option.
Undefined behavior: Call argument type mismatches callee parameter type
tail call void bitcast (void (%task*, i8*, i8*, i32)* @upcall_fail to void (%struct.rust_task*, i8*, i8*, i32)*)(%struct.rust_task* %task, i8* getelementptr inbounds ([42 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([15 x i8]* @.str1, i32 0, i32 0), i32 45)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment