hanchenye-llvm-project/clang/lib/Basic
Will Schmidt 22d2435a00 [PPC64LE] Add a CALL_ELF macro to indicate use of the ELFv2 ABI.
Additional clarification from Uli for the background on _CALL_ELF:
"Historically GCC has provided various _CALL_... predefines depending on the
ABI currently being compiled for. (_CALL_SYSV,_CALL_AIXDESC, _CALL_DARWIN )
When we needed a new define for the current ABI, we decided on using _CALL_ELF
since the official name of the ABI is the OpenPower ElfV2 ABI, with the
current Linux ABI retro-actively being renamed the ELFv1 ABI
and so we decided on using _CALL_ELF to identify the Linux (+BSD etc.) ELF ABI,
with _CALL_ELF=1 for the v1 ABI and _CALL_ELF=2 for the v2 ABI.
(Note that this matches the gcc compiler switch -mabi=elfv1 vs. -mabi=elfv2)."

In code, a (_CALL_ELF==2) check will indicate when the ELFv2 ABI is
to be used.   This is the desired default for the PPC64 LE target.

llvm-svn: 204627
2014-03-24 17:27:03 +00:00
..
Builtins.cpp Refactored Builtin::Context::isPrintfLike and isScanfLike into a helper function. The implementations are identical, except for the format arguments being searched for. 2014-01-03 20:10:54 +00:00
CMakeLists.txt [CMake] Get rid of explicit dependencies to include/clang/*.inc and introduce CLANG_TABLEGEN_TARGETS. 2014-02-21 07:59:59 +00:00
CharInfo.cpp
Diagnostic.cpp Fix -Wreturn-type build failure on ASTMatchers, plus an intended assert 2014-01-26 08:12:32 +00:00
DiagnosticIDs.cpp Add 'remark' diagnostic type in 'clang' 2014-02-28 09:11:08 +00:00
FileManager.cpp Replace OwningPtr with std::unique_ptr. 2014-03-07 20:03:18 +00:00
FileSystemStatCache.cpp Replace OwningPtr with std::unique_ptr. 2014-03-07 20:03:18 +00:00
IdentifierTable.cpp Fix a typo in r204164 that made *all* keywords available in OpenCL mode. 2014-03-18 22:43:19 +00:00
LangOptions.cpp
Makefile
Module.cpp Module [extern_c] attribute: inherit to submodules, don't write 'extern "C"' 2014-03-08 00:03:56 +00:00
ObjCRuntime.cpp Add a define for the ObjFW runtime ABI version. 2013-09-16 16:31:49 +00:00
OpenMPKinds.cpp [OPENMP] parsing of clause 'safelen' (for directive 'omp simd') 2014-03-21 04:51:18 +00:00
OperatorPrecedence.cpp Replace C++0x in a comment with C++11 2013-07-14 17:04:56 +00:00
SourceLocation.cpp Only mark dump() function definitions 'used' in debug builds 2014-01-04 13:47:14 +00:00
SourceManager.cpp Remove dead code I introduced 6 years, 4 months ago in r43518. 2014-03-06 21:42:43 +00:00
TargetInfo.cpp Remove the -cxx-abi command-line flag. 2014-01-14 19:35:09 +00:00
Targets.cpp [PPC64LE] Add a CALL_ELF macro to indicate use of the ELFv2 ABI. 2014-03-24 17:27:03 +00:00
TokenKinds.cpp Prospective MSVC 2010 build fix 2014-01-06 15:52:13 +00:00
Version.cpp Remove trailing spaces 2014-01-14 10:25:26 +00:00
VersionTuple.cpp
VirtualFileSystem.cpp [C++11] Avoid implicit conversion of ArrayRef to std::vector and use move semantics where appropriate. 2014-03-10 17:55:02 +00:00