The -meabi flag to control LLVM EABI version.
Without '-meabi' or with '-meabi default' imply LLVM triple default. With '-meabi gnu' sets EABI GNU. With '-meabi 4' or '-meabi 5' set EABI version 4 and 5 respectively.
Paths
| Differential D14184
[clang] Add initial support for -meabi flag ClosedPublic Authored by tinti on Oct 29 2015, 12:43 PM.
Details Summary The -meabi flag to control LLVM EABI version. Without '-meabi' or with '-meabi default' imply LLVM triple default. With '-meabi gnu' sets EABI GNU. With '-meabi 4' or '-meabi 5' set EABI version 4 and 5 respectively.
Diff Detail Event Timelinetinti updated this object. Comment Actions You forgot to add the context. It makes a big difference in the driver code. :) But overall, looks good to me. @jroelofs @compnerd @t.p.northover, can you see anything that might impact your workloads? cheers, Comment Actions This looks like what I had in mind wrt use of -meabi.
tinti edited edge metadata. Comment Actions
tinti marked an inline comment as done. Comment Actions
tinti added inline comments.
This revision is now accepted and ready to land.Nov 9 2015, 2:55 AM
Revision Contents
Diff 39596 include/clang/Driver/Options.td
include/clang/Frontend/CodeGenOptions.h
lib/CodeGen/BackendUtil.cpp
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
test/CodeGen/arm-eabi.c
test/Driver/eabi.c
|
I'd really rather see this written in the LLVM Style:
since all of them are initialisms.
BTW, please clang-format this change.