[clang-repl] Better match the underlying architecture.
authorVassil Vassilev <v.g.vassilev@gmail.com>
Tue, 18 May 2021 17:53:54 +0000 (17:53 +0000)
committerVassil Vassilev <v.g.vassilev@gmail.com>
Tue, 18 May 2021 19:14:33 +0000 (19:14 +0000)
commit8dd5ef01ef13e402784bba47f7a24175f5f00325
tree3f307dd289fbdc2d23ecb6f5c12f58a40d6c94eb
parent0f544be244e31d3988b2024dfbfe4b91f8e909e1
[clang-repl] Better match the underlying architecture.

In cases where -fno-integrated-as is specified we should overwrite the
EmitAssembly action as well.

We also should rely on the target triple from the process at least until we
implement out-of-process execution.

This patch should improve clang-repl on AIX.

Discussion available at: https://reviews.llvm.org/D96033

Differential revision: https://reviews.llvm.org/D102688
clang/lib/Interpreter/IncrementalParser.cpp
clang/lib/Interpreter/Interpreter.cpp