This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
73a24b8abb
rust
/
src
/
test
/
run-pass
/
issue-1251.rs
8 lines
93 B
Rust
Raw
Normal View
History
Unescape
Escape
rustc: Add suffix ".rc" to LLVM module identifier LLVM code generator emits the ".file filename" directive for ELF backends. Value of the "filename" is set as the LLVM module identifier. Due to a LLVM MC bug[1], LLVM crashes if the module identifer is same as other symbols such as a function name in the module. This patch adds a ".rc" suffix (means crates) to LLVM module identifier to workaround the bug. Fixes issue #1251. 1. http://llvm.org/bugs/show_bug.cgi?id=11479
2011-12-05 00:56:11 -06:00
#[
link(name =
"
unsupervise
"
)
]
;
Switch 'native' to 'extern' (or 'foreign' in some descriptions)
2012-07-03 18:11:00 -05:00
extern
mod
rustrt
{
rustc: Add suffix ".rc" to LLVM module identifier LLVM code generator emits the ".file filename" directive for ELF backends. Value of the "filename" is set as the LLVM module identifier. Due to a LLVM MC bug[1], LLVM crashes if the module identifer is same as other symbols such as a function name in the module. This patch adds a ".rc" suffix (means crates) to LLVM module identifier to workaround the bug. Fixes issue #1251. 1. http://llvm.org/bugs/show_bug.cgi?id=11479
2011-12-05 00:56:11 -06:00
fn
unsupervise
(
)
;
}
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink