Go to file
Fangrui Song 1c61471ab1 [PPC64] Parse -elfv1 -elfv2 when specified on target triple
Summary:
For big-endian powerpc64, the default ABI is ELFv1. OpenPower ABI ELFv2 is supported when -mabi=elfv2 is specified. FreeBSD support for PowerPC64 ELFv2 ABI with LLVM is in progress[1]. This patch adds an alternative way to specify ELFv2 ABI on target triple [2].

The following results are expected:

ELFv1 when using:
-target powerpc64-unknown-freebsd12.0
-target powerpc64-unknown-freebsd12.0 -mabi=elfv1
-target powerpc64-unknown-freebsd12.0-elfv1

ELFv2 when using:
-target powerpc64-unknown-freebsd12.0 -mabi=elfv2
-target powerpc64-unknown-freebsd12.0-elfv2

[1] https://wiki.freebsd.org/powerpc/llvm-elfv2
[2] https://clang.llvm.org/docs/CrossCompilation.html

Patch by Alfredo Dal'Ava Júnior!

Differential Revision: https://reviews.llvm.org/D61950

llvm-svn: 361355
2019-05-22 07:29:59 +00:00
clang [PPC64] Parse -elfv1 -elfv2 when specified on target triple 2019-05-22 07:29:59 +00:00
clang-tools-extra [clang-tidy] remove default header-filter for run-clang-tidy 2019-05-22 01:01:11 +00:00
compiler-rt [libFuzzer] Sleep after process exits in merge-sigusr.test. 2019-05-22 00:41:54 +00:00
debuginfo-tests Set config.lit_tools_dir, which is needed by lit.llvm.initialize. 2018-11-06 21:54:27 +00:00
libclc travis: Add LLVM-8 build 2019-03-27 21:28:31 +00:00
libcxx Speculative fix for std stream destruction order on Windows. 2019-05-22 03:45:49 +00:00
libcxxabi [libcxxabi] Add a test for invalid assumptions on the alignment of exceptions 2019-05-17 14:53:29 +00:00
libunwind [PPC] Fix 32-bit build of libunwind 2019-05-16 06:49:20 +00:00
lld Simplify the logic to instantiate Symbols. Should be NFC. 2019-05-22 04:56:25 +00:00
lldb [Symbol] Remove dead code 2019-05-22 00:06:44 +00:00
llgo IR: Support parsing numeric block ids, and emit them in textual output. 2019-03-22 18:27:13 +00:00
llvm [PPC64] Parse -elfv1 -elfv2 when specified on target triple 2019-05-22 07:29:59 +00:00
openmp [OpenMP] Add implementation to two OMPT API routines 2019-05-21 20:51:05 +00:00
parallel-libs Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
polly [DeLICM] Use polly::singleton to allow empty result. 2019-05-21 19:18:26 +00:00
pstl [pstl] Make the default backend be the serial backend and always provide parallel policies 2019-04-24 20:12:36 +00:00
.arcconfig Update monorepo .arcconfig with new project callsign. 2019-01-31 14:34:59 +00:00
.clang-format Add .clang-tidy and .clang-format files to the toplevel of the 2019-01-29 16:43:16 +00:00
.clang-tidy Disable tidy checks with too many hits 2019-02-01 11:20:13 +00:00
.gitignore Add a reduced copy of the llvm .gitignore 2019-04-09 00:52:49 +00:00
README.md

README.md

The LLVM Compiler Infrastructure

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.