[lldb-tests] Add compiler version check in TestFunctionStarts
authorFelipe de Azevedo Piovezan <fpiovezan@apple.com>
Tue, 18 Oct 2022 15:01:38 +0000 (11:01 -0400)
committerFelipe de Azevedo Piovezan <fpiovezan@apple.com>
Tue, 18 Oct 2022 17:48:26 +0000 (13:48 -0400)
commit3c1d8e06d4a995f8d421ede3cf9240bbddc43441
tree6df7418a116824970532ed2efd1fff28ba59a333
parent821e04de11390e6ff7a04ef05a3931c8b4691b07
[lldb-tests] Add compiler version check in TestFunctionStarts

This test requires compiling its input program without debug
information. To do so, it uses certain Makefile variables that are never
populated with custom libcxx paths (if present). Doing so would not
necessarily be correct: we cannot guarantee that said standard library
has no debug symbols.

As such, we keep using the system libraries but disable the tests in
clang versions that are too old to work with more modern system
libraries, as in the case of the lldb-matrix bot.

Differential Revision: https://reviews.llvm.org/D136178
lldb/test/API/macosx/function-starts/TestFunctionStarts.py