llvm-project/lldb/lit/SymbolFile/PDB/Inputs
Aleksandr Urakov a5235af980 [PDB] Support PDB-backed expressions evaluation (+ fix stuck test)
Summary:
This patch contains several small fixes, which makes it possible to evaluate
expressions on Windows using information from PDB. The changes are:
- several sanitize checks;
- make IRExecutionUnit::MemoryManager::getSymbolAddress to not return a magic
  value on a failure, because callers wait 0 in this case;
- entry point required to be a file address, not RVA, in the ObjectFilePECOFF;
- do not crash on a debuggee second chance exception - it may be an expression
  evaluation crash. Also fix detection of "crushed" threads in tests;
- create parameter declarations for functions in AST to make it possible to call
  debugee functions from expressions;
- relax name searching rules for variables, functions, namespaces and types. Now
  it works just like in the DWARF plugin;
- fix endless recursion in SymbolFilePDB::ParseCompileUnitFunctionForPDBFunc.

Reviewers: zturner, asmith, stella.stamenova

Reviewed By: stella.stamenova, asmith

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D53759

llvm-svn: 348136
2018-12-03 13:31:13 +00:00
..
AstRestoreTest.cpp [PDB] Introduce `MSVCUndecoratedNameParser` 2018-11-06 08:02:55 +00:00
CallingConventionsTest.cpp [PDB] Restore the calling convention from PDB 2018-09-26 09:03:34 +00:00
ClassLayoutTest.cpp [PDB] Parse UDT symbols and pointers to members (combined patch) 2018-08-14 07:57:44 +00:00
CompilandsTest.cpp
ExpressionsTest.cpp [PDB] Support PDB-backed expressions evaluation (+ fix stuck test) 2018-12-03 13:31:13 +00:00
ExpressionsTest0.script [PDB] Support PDB-backed expressions evaluation (+ fix stuck test) 2018-12-03 13:31:13 +00:00
ExpressionsTest1.script [PDB] Support PDB-backed expressions evaluation (+ fix stuck test) 2018-12-03 13:31:13 +00:00
ExpressionsTest2.script [PDB] Support PDB-backed expressions evaluation (+ fix stuck test) 2018-12-03 13:31:13 +00:00
FuncSymbols.cpp [SymbolFilePDB] Add support for function symbols 2018-02-09 05:31:28 +00:00
FuncSymbolsTestMain.cpp [SymbolFilePDB] Add support for function symbols 2018-02-09 05:31:28 +00:00
FunctionLevelLinkingTest.cpp PDB support of function-level linking and splitted functions 2018-06-08 02:45:25 +00:00
FunctionLevelLinkingTest.h PDB support of function-level linking and splitted functions 2018-06-08 02:45:25 +00:00
FunctionLevelLinkingTest.ord PDB support of function-level linking and splitted functions 2018-06-08 02:45:25 +00:00
FunctionNestedBlockTest.cpp Retrieve a function PDB symbol correctly from nested blocks 2018-06-28 10:03:42 +00:00
PointerTypeTest.cpp [PDB] Parse UDT symbols and pointers to members (combined patch) 2018-08-14 07:57:44 +00:00
SimpleTypesTest.cpp [PDB] Handle `char` as a builtin type 2018-09-28 07:59:49 +00:00
TypeQualsTest.cpp [SymbolFilePDB] Add support for CVR pointer type qualifier 2018-03-07 00:39:25 +00:00
UdtLayoutTest.cpp [PDB] Parse UDT symbols and pointers to members (combined patch) 2018-08-14 07:57:44 +00:00
UdtLayoutTest.script [PDB] Parse UDT symbols and pointers to members (combined patch) 2018-08-14 07:57:44 +00:00
VBases.cpp [ClangASTContext] Extract VTable pointers from C++ objects 2018-11-12 16:23:50 +00:00
VBases.script [ClangASTContext] Extract VTable pointers from C++ objects 2018-11-12 16:23:50 +00:00
VariablesLocationsTest.cpp Convert a location information from PDB to a DWARF expression 2018-07-13 10:29:27 +00:00
VariablesLocationsTest.script Convert a location information from PDB to a DWARF expression 2018-07-13 10:29:27 +00:00
VariablesTest.cpp [SymbolFilePDB] Add support for resolving variable symbols 2018-05-23 01:52:42 +00:00