about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorAriel Ben-Yehuda <arielb1@mail.tau.ac.il>2017-04-26 22:11:07 +0000
committerGitHub <noreply@github.com>2017-04-26 22:11:07 +0000
commitc6ff8326ecf6e069460f19442d78a935b7b3022a (patch)
tree6986aec9800a9f91641b4a23a5cdda15fa7a1b2d /src/test/incremental/thinlto
parentccc790f9e69d4aba4db339ea45c7d60f96451d99 (diff)
parent22eb3c69b913091b8e363803dab973a2a8230736 (diff)
downloadrust-c6ff8326ecf6e069460f19442d78a935b7b3022a.tar.gz
rust-c6ff8326ecf6e069460f19442d78a935b7b3022a.zip
Rollup merge of #41524 - michaelwu:basic-hexagon, r=alexcrichton
Add Hexagon support

This requires an updated LLVM with https://reviews.llvm.org/D31999 and https://reviews.llvm.org/D32000 to build libcore.

A basic hello world builds and runs successfully on the hexagon simulator. libcore is fine with LLVM fixes, but libstd requires a lot more work since there's a custom rtos running on most hexagon cores. Running Linux sounds possible though, so maybe getting linux + musl going would be easier.

Here's the target file I've been using for testing
```
{
    "arch": "hexagon",
    "llvm-target": "hexagon-unknown-elf",
    "os": "none",
    "target-endian": "little",
    "target-pointer-width": "32",

    "data-layout": "e-m:e-p:32:32:32-a:0-n16:32-i64:64:64-i32:32:32-i16:16:16-i1:8:8-f32:32:32-f64:64:64-v32:32:32-v64:64:64-v512:512:512-v1024:1024:1024-v2048:2048:2048",
    "linker": "hexagon-clang",
    "linker-flavor": "gcc",
    "executables": true,
    "cpu": "hexagonv60"
}
```
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions