1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/include/llvm
Mehdi Amini 7b88b3bd89 Add link-time detection of LLVM_ABI_BREAKING_CHECKS mismatch
Summary:
LLVM will define a symbol, either EnableABIBreakingChecks or
DisableABIBreakingChecks depending on the configuration setting for
LLVM_ABI_BREAKING_CHECKS.

The llvm-config.h header will add weak references to these symbols in
every clients that includes this header. This should ensure that
a mismatch triggers a link failure (or a load time failure for DSO).

On MSVC, the pragma "detect_mismatch" is used instead.

Reviewers: rnk, jroelofs

Subscribers: llvm-commits, mgorny

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

llvm-svn: 287352
2016-11-18 17:28:10 +00:00
..
ADT Add a little endian variant of TCE. 2016-11-16 15:22:23 +00:00
Analysis [tsan] Add support for C++ exceptions into TSan (call __tsan_func_exit during unwinding), LLVM part 2016-11-14 21:41:13 +00:00
AsmParser
Bitcode Bitcode: Introduce initial multi-module reader API. 2016-11-16 21:44:45 +00:00
CodeGen MachineOperand: Add dump() method 2016-11-18 02:40:40 +00:00
Config Add link-time detection of LLVM_ABI_BREAKING_CHECKS mismatch 2016-11-18 17:28:10 +00:00
DebugInfo [CodeView] Fix some Clang-tidy modernize-use-default, modernize-use-override and Include What You Use warnings; other minor fixes (NFC). 2016-11-17 18:11:21 +00:00
Demangle
ExecutionEngine [Orc] Clang-format the recent RPC update (r286620 and related). 2016-11-17 02:33:47 +00:00
IR [AVX-512] Replace masked 16-bit element variable shift intrinsics with new unmasked versions and selects. 2016-11-18 05:04:44 +00:00
IRReader
LibDriver
LineEditor
Linker [ThinLTO] Don't link module level assembly when importing 2016-10-12 18:39:29 +00:00
LTO Make the LTO comdat api more symbol table friendly. 2016-10-25 12:02:03 +00:00
MC [MC][AArch64] Cleanup end-of-line parsing in AArch64 AsmParser. 2016-11-08 18:31:04 +00:00
Object [ELF] Convert ELF.h to Expected<T>. 2016-11-16 05:10:28 +00:00
ObjectYAML
Option Generalize ArgList::AddAllArgs more 2016-09-29 19:47:58 +00:00
Passes
ProfileData [Coverage] Darwin: Move __llvm_covmap from __DATA to __LLVM_COV 2016-10-27 23:17:51 +00:00
Support Remove TimeValue class 2016-11-16 10:46:48 +00:00
TableGen TableGen: Add operator !or 2016-11-15 06:49:28 +00:00
Target Introduce TLI predicative for base-relative Jump Tables. 2016-11-15 12:39:46 +00:00
Transforms Use profile info to adjust loop unroll threshold. 2016-11-17 01:17:02 +00:00
CMakeLists.txt
InitializePasses.h Introduce GlobalSplit pass. 2016-11-16 23:40:26 +00:00
LinkAllIR.h Remove unused #includes of TimeValue.h. NFC. 2016-10-24 14:00:26 +00:00
LinkAllPasses.h Add Loop Sink pass to reverse the LICM based of basic block frequency. 2016-10-27 16:30:08 +00:00
module.modulemap [ORC] Work around an apparent modules/linkage issue. 2016-11-15 02:14:57 +00:00
module.modulemap.build
Pass.h Use StringRef in Pass/PassManager APIs (NFC) 2016-10-01 02:56:57 +00:00
PassAnalysisSupport.h
PassInfo.h [llvm] Remove duplicate header from PassInfo.h 2016-11-11 02:01:32 +00:00
PassRegistry.h
PassSupport.h Use StringRef in Pass Info/Support API (NFC) 2016-10-01 04:03:30 +00:00