[all-commits] [llvm/llvm-project] c1f1db: [lldb] Add a host-independent test for handling -f...
Pavel Labath via All-commits
all-commits at lists.llvm.org
Thu Jul 2 06:51:42 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c1f1db8502f1fc788eefeafd3dc225bd287ee4b9
https://github.com/llvm/llvm-project/commit/c1f1db8502f1fc788eefeafd3dc225bd287ee4b9
Author: Pavel Labath <pavel at labath.sk>
Date: 2020-07-02 (Thu, 02 Jul 2020)
Changed paths:
A lldb/test/Shell/SymbolFile/DWARF/limit-debug-info.s
Log Message:
-----------
[lldb] Add a host-independent test for handling -flimit-debug-info
This complements the existing TestLimitDebugInfo.py, which tests this
scenario more comprehensively, but is not able to run on all hosts.
Specifically, it's hard to trigger this code from windows because clang
tries hard to ensure that debug info for types marked with
__declspec(dllexport) is emitted even under -flimit-debug-info (and
dllexport is needed to use a type across shared libraries).
This assembly-based test serves two purposes:
- it tests that -flimit-debug-info code path works for windows binaries
(even though the aforementioned feature means its less likely to be
used there)
- it gives basic test coverage for the -flimit-debug-info handling code
when running the test suite on windows hosts.
More information about the All-commits
mailing list