9 Commits

Author SHA1 Message Date
Pavel Labath
1d1d916f96 Fix an embarrasing use-after-free from a895a446bcde 2020-10-30 16:54:24 +01:00
Pavel Labath
a895a446bc [lldb/test] Simplify/generalize YAMLModuleTester
The class only supports a single DWARF unit (needed for my new test), and it
reimplements chunks of object and symbol file classes. We can just make it use
the real thing, save some LOC and get the full feature set.

Differential Revision: https://reviews.llvm.org/D90393
2020-10-30 14:27:50 +01:00
Adrian Prantl
06e4f69b22 Add a getter to retrieve the XcodeSDK from Module and unit-test it. (NFC)
This API is used by swift-lldb.

(Recommit with missing file git-added)
2020-04-24 17:00:34 -07:00
Adrian Prantl
af015c1a33 Revert "Add a getter to retrieve the XcodeSDK from Module and unit-test it. (NFC)"
This reverts commit 345df863ce649860bea9040fe5c2f10780d29080.

(Forgot to git-add the new file)
2020-04-24 16:59:48 -07:00
Adrian Prantl
345df863ce Add a getter to retrieve the XcodeSDK from Module and unit-test it. (NFC)
This API is used by swift-lldb.
2020-04-24 16:51:54 -07:00
Jonas Devlieghere
f37b62ecce Re-land "[lldb] [testsuite] generalize DWARFASTParserClangTests based on DWARFExpressionTest's YAML" 2020-02-04 13:59:29 -08:00
Jan Kratochvil
b73f8c53d8 Revert: [lldb] [testsuite] generalize DWARFASTParserClangTests based on DWARFExpressionTest's YAML
It is causing a failure on OSX, to be investigated more.

Differential Revision: https://reviews.llvm.org/D73279
2020-02-04 22:48:27 +01:00
Jan Kratochvil
104800084f [lldb] [testsuite] Fixup: generalize DWARFASTParserClangTests based on DWARFExpressionTest's YAML
The testcase did not compile now because of an upstream change in the
meantime.

For: https://reviews.llvm.org/D73279
2020-02-04 15:03:09 +01:00
Jan Kratochvil
2926a651ba [lldb] [testsuite] generalize DWARFASTParserClangTests based on DWARFExpressionTest's YAML
YAMLModuleTester from DWARFExpressionTest can be reused for more
testcases.

Differential Revision: https://reviews.llvm.org/D73279
2020-02-04 14:33:29 +01:00