[clang-repl][NFC] Split weak symbol test to a new test
authorJun Zhang <jun@junz.org>
Thu, 7 Jul 2022 14:14:04 +0000 (22:14 +0800)
committerJun Zhang <jun@junz.org>
Fri, 8 Jul 2022 01:17:11 +0000 (09:17 +0800)
commiteee6a12227a608e4c9aa4d9428d3fe55071f2d64
tree05f8cadc7f82421d4fb37a1d6e85ff178e150d9f
parenteaba6e0b5cf596571f6c0ba5924ffba959566a3f
[clang-repl][NFC] Split weak symbol test to a new test

Windows has some issues when we try to use `__attribute__((weak))` in
JIT, so we disabled that. But it's not worth to disable the whole test
just for this single feature. This patch split that part from the
original test so we can keep testing stuff that normally working in
Windows.

Signed-off-by: Jun Zhang <jun@junz.org>
Differential Revision: https://reviews.llvm.org/D129250
clang/test/Interpreter/execute-weak.cpp [new file with mode: 0644]
clang/test/Interpreter/execute.cpp