[lldb] Skip TestLimitDebugInfo on windows
authorPavel Labath <pavel@labath.sk>
Thu, 2 Jul 2020 12:28:03 +0000 (14:28 +0200)
committerPavel Labath <pavel@labath.sk>
Thu, 2 Jul 2020 12:34:33 +0000 (14:34 +0200)
commitd6343e607ac8fa71fa6d99f9c86369ae9e66e671
tree26a33957c64ead868513aca62ccd5b6c9820ae0a
parentdb4d5f7048a26a7708821e46095742aecfd8ba46
[lldb] Skip TestLimitDebugInfo on windows

The test does not work on windows, because clang will emit full type
information for __declspec(dllexport) types even under
-flimit-debug-info. __declspec(dllexport) is needed to be able to use
the type across shared library boundaries on windows, which makes this a
pretty good heuristic, but defeats the purpose of this test.

I am going to create (in another patch) an basic assembly test, so that
the relevant code gets at least some coverage on windows hosts.

This also reverts commit 1276855f2b4485ec312b379c1b8eaf5510d9b157, which
added the __declspec annotations -- they are not necessary anymore, and
they needlessly complicate the test.
lldb/test/API/functionalities/limit-debug-info/Makefile
lldb/test/API/functionalities/limit-debug-info/TestLimitDebugInfo.py
lldb/test/API/functionalities/limit-debug-info/onetwo.h