This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
process 31913 | |
Mapped address spaces: | |
Start Addr End Addr Size Offset objfile | |
0x555555554000 0x555555555000 0x1000 0x0 /home/sanxiyn/rust/b/x86_64-unknown-linux-gnu/stage1/bin/rustc | |
0x555555754000 0x555555755000 0x1000 0x0 /home/sanxiyn/rust/b/x86_64-unknown-linux-gnu/stage1/bin/rustc | |
0x555555755000 0x555555787000 0x32000 0x0 [heap] | |
0x7fffd8000000 0x7fffda9c6000 0x29c6000 0x0 | |
0x7fffda9c6000 0x7fffdc000000 0x163a000 0x0 | |
0x7fffdc000000 0x7fffdfdb2000 0x3db2000 0x0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- arm.filtered.ll 2016-03-12 18:48:02.186454259 +0900 | |
+++ i686.filtered.ll 2016-03-12 18:48:16.522659569 +0900 | |
@@ -1,6 +1,6 @@ | |
-; ModuleID = 'arm.bc' | |
-target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64" | |
-target triple = "arm-unknown-linux-gnueabihf" | |
+; ModuleID = 'i686.bc' | |
+target datalayout = "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128" | |
+target triple = "i686-unknown-linux-gnu" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
failed [run-pass] run-pass/capture_nil.rs | |
failed [run-pass] run-pass/cci_capture_clause.rs | |
failed [run-pass] run-pass/child-outlives-parent.rs | |
failed [run-pass] run-pass/cleanup-copy-mode.rs | |
failed [run-pass] run-pass/clone-with-exterior.rs | |
failed [run-pass] run-pass/comm.rs | |
failed [run-pass] run-pass/core-run-destroy.rs | |
failed [run-pass] run-pass/deriving-encodable-decodable.rs | |
failed [run-pass] run-pass/deriving-rand.rs | |
failed [run-pass] run-pass/extern-call-deep2.rs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
gcc -shared -fPIC sub.c -o libhost.so | |
gcc main.c -L. -lhost -o host | |
LD_LIBRARY_PATH=. ./host |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDlMgzbZiFoYZAG12L4yTLyijOgu65mhOGWzTen+PfEDuL17/iYw49YOqd/T80z5dEVG6/E26in/Xkamr9NwYs6exxL3nKmRkDUbud8YJFZNwNQQY1UWUo12oRy0aoioBZAU0FJhWMsUFFyna7bgFO/MKxiHBFGiNERpl7iRR8RQ+oO84jZrlgrNX0klwMUFEskUbWFvjMSxpCePbsr9zu2xOiRyDbP8dF8tWnqU8tSJ7f4YzVXBYcjOUV1tBYZwtb5XSS6Oex4uyFOXyLyan/MkHHiY9lFE/qmO3ZVQibGK+OrKdN7QtHXsuOHaUW9kRLTP5k1BLsPSFSKF4RNTMlP sh4.seo@samsung.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern mod extra; | |
fn test_vector() -> ~[f32] { | |
let mut v = ~[]; | |
for std::uint::range(0, 64) |i| { | |
v.push(i as f32); | |
} | |
v | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ifndef ARM | |
run: libjsval.so js.x64 | |
LD_LIBRARY_PATH=. ./js.x64 | |
else | |
run: libjsval.so js.arm | |
endif | |
clean: | |
rm -f *.ll *.s *.so *.x64 *.arm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1MEVAAwyyrBvmBe5PTVGLePWnZN7D5VrGY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern mod std; | |
fn lt<T: Ord>(a: Option<T>, b: Option<T>) -> bool { | |
match (a, b) { | |
(None, None) => false, | |
(None, Some(_)) => true, | |
(Some(_), None) => false, | |
(Some(a), Some(b)) => a < b | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern mod core; | |
use core::comm; | |
use core::task; | |
fn find_max_and_count(list: ~[int]) -> (int, uint) { | |
let min = list.min(); | |
let max = list.max(); | |
let range = (max - min) as uint; | |
let mut count = vec::from_elem(range + 1, 0); |