llvm-project/clang/lib/Interpreter
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
..
CMakeLists.txt [clang-repl] Add exhaustive list of libInterpreter dependencies. 2021-05-13 07:18:01 +00:00
IncrementalExecutor.cpp [clang-repl] Tell the LLJIT the exact target triple we use. 2021-05-21 08:16:42 +00:00
IncrementalExecutor.h [clang-repl] Tell the LLJIT the exact target triple we use. 2021-05-21 08:16:42 +00:00
IncrementalParser.cpp [clang-repl] Better match the underlying architecture. 2021-05-18 19:14:33 +00:00
IncrementalParser.h [clang-repl] Recommit "Land initial infrastructure for incremental parsing" 2021-05-13 06:30:29 +00:00
Interpreter.cpp [clang-repl] Tell the LLJIT the exact target triple we use. 2021-05-21 08:16:42 +00:00