summaryrefslogtreecommitdiff
path: root/lldb/test/Shell/SymbolFile/NativePDB/global-ctor-dtor.cpp
AgeCommit message (Collapse)Author
2024-11-01[lldb][NativePDB] Parse global variables. (#114303)Zequan Wu
This doesn't parse S_CONSTANT case yet, because I found that the global variable `std::strong_ordering::equal` is a S_CONSTANT and has type of LF_STRUCTURE which is not currently handled when creating dwarf expression for the variable. Left a TODO for it to finish later. This makes `lldb/test/Shell/SymbolFile/PDB/ast-restore.test` and `lldb/test/Shell/SymbolFile/PDB/calling-conventions-x86.test` pass on windows with native pdb plugin only.
2024-10-31[lldb] Set LLDB_USE_NATIVE_PDB_READER at the directory level (#114455)Jonas Devlieghere
Lit allows you to set environment variables for all tests in a directory using a `lit.local.cfg` file. Do this for the PDB and NativePDB tests.
2022-09-15[LLDB][NativePDB] Global ctor and dtor should be global decls.Zequan Wu
This fixes a crash that mistaken global ctor/dtor as funciton methods. Differential Revision: https://reviews.llvm.org/D133446