Reland "[clang-repl] Adapt to the recent dylib-related changes in ORC."
authorVassil Vassilev <v.g.vassilev@gmail.com>
Tue, 29 Aug 2023 19:38:34 +0000 (19:38 +0000)
committerTobias Hieta <tobias@hieta.se>
Wed, 30 Aug 2023 14:58:23 +0000 (16:58 +0200)
commitd469d5ce19a8134148c35451558d5a81870ca871
tree400fd3a71ac2687f52d25274ef64d81d878478b3
parent94af834cb87ff9e04f9b075540dbf9b75e4a4cb3
Reland "[clang-repl] Adapt to the recent dylib-related changes in ORC."

Original commit message:"

ORC splits into separate dylibs symbols coming from the process and symbols
materialized in the Jit. This patch adapts intent of the existing interface and
adds a regression test to make sure both Jit'd and compiled symbols can be found.

Differential revision: https://reviews.llvm.org/D159115
"

This patch disables the test statement on windows as it seems we might have a
bug in the way we model dllimports.

(cherry picked from commit 452cb7f20bc7b976eb6fec4ac9f2d902f4175c08)
clang/lib/Interpreter/IncrementalExecutor.cpp
clang/unittests/Interpreter/InterpreterTest.cpp