llvm-capstone/clang/lib
Vassil Vassilev 49f9532165 [clang-repl] Tell the LLJIT the exact target triple we use.
Some systems use a different data layout. For instance, s390x the layout of
machines with vector registers is different from the ones without. In such
cases, the JIT will automatically detect the vector registers and go out of
sync.

This patch tells the JIT what is the target triple of the generated code so that
both ends are in sync.

Discussion available in https://reviews.llvm.org/D96033. Thanks to @uweigand for
helping understand the issue.

Differential revision https://reviews.llvm.org/D102756
2021-05-21 08:16:42 +00:00
..
Analysis Add type information to integral template argument if required. 2021-05-12 19:00:08 +00:00
APINotes [clang][APINotes] Fix -Wunused-function warning (NFC) 2021-04-01 09:52:43 +08:00
ARCMigrate [SystemZ][z/OS] Set files in FileRemapper.cpp are text 2021-04-19 07:59:42 -04:00
AST [AST] Store regular ValueDecl* in BindingDecl (NFC) 2021-05-20 16:28:58 +02:00
ASTMatchers [ASTMatchers] Add forCallable(), a generalization of forFunction(). 2021-05-13 11:25:00 -07:00
Basic [M68k] Support for inline asm operands w/ simple constraints 2021-05-20 14:00:09 -07:00
CodeGen [CUDA][HIP] Fix device variables used by host 2021-05-20 17:04:29 -04:00
CrossTU [analyzer][CTU] API for CTU macro expansions 2021-02-22 11:12:22 +01:00
DirectoryWatcher Revert "ADT: Migrate users of AlignedCharArrayUnion to std::aligned_union_t, NFC" 2020-12-14 17:04:06 -08:00
Driver [clang][driver] Treat -flto=[auto,jobserver] as -flto 2021-05-21 08:38:41 +02:00
Edit [Matrix] Implement C-style explicit type conversions for matrix types. 2021-04-10 11:48:41 +01:00
Format [clang-format] PR50326 AlignAfterOpenBracket AlwaysBreak does not keep to the ColumnLimit 2021-05-15 11:29:56 +01:00
Frontend Introduce SYCL 2020 mode 2021-05-18 10:34:14 -04:00
FrontendTool
Headers [PowerPC] Add vec_vupkhpx and vec_vupklpx for XL compatibility 2021-05-14 08:02:00 -05:00
Index [Index] Ignore nullptr decls for indexing 2021-05-06 13:12:26 -07:00
IndexSerialization
Interpreter [clang-repl] Tell the LLJIT the exact target triple we use. 2021-05-21 08:16:42 +00:00
Lex [clang][modules] Build inferred modules 2021-05-17 10:40:51 +02:00
Parse When vector is found as a type or non-type id, check if it is really the altivec vector token. 2021-05-20 12:39:04 -04:00
Rewrite [clang] DeltaTree::AddDelta - fix "initialization is never read" clang-tidy warning. NFCI. 2021-03-02 15:01:34 +00:00
Sema [clang][AST] Improve AST Reader/Writer memory footprint 2021-05-20 15:34:29 -07:00
Serialization [clang][AST] Improve AST Reader/Writer memory footprint 2021-05-20 15:34:29 -07:00
StaticAnalyzer [analyzer] Check the checker name, rather than the ProgramPointTag when silencing a checker 2021-05-19 12:40:09 +02:00
Testing
Tooling Reapply "[clang][deps] Support inferred modules" 2021-05-20 12:41:52 +02:00
CMakeLists.txt [clang-repl] Recommit "Land initial infrastructure for incremental parsing" 2021-05-13 06:30:29 +00:00