aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/Object.cpp
diff options
context:
space:
mode:
authornerix <nerixdev@outlook.de>2025-10-13 11:49:39 +0200
committerGitHub <noreply@github.com>2025-10-13 11:49:39 +0200
commit648b3aab478840cd72913d23cbbb425dc890f86a (patch)
tree4ddc6a1ca8ea68c9da02472e221fa7b5b8ed3a86 /llvm/lib/Object/Object.cpp
parenta4eb7ea22575afa40d79475c15fc2d0ad3f4498a (diff)
downloadllvm-648b3aab478840cd72913d23cbbb425dc890f86a.zip
llvm-648b3aab478840cd72913d23cbbb425dc890f86a.tar.gz
llvm-648b3aab478840cd72913d23cbbb425dc890f86a.tar.bz2
[LLDB][NativePDB] Use typedef compiler type for typedef types (#156250)
Before this PR, the native PDB plugin would create the following LLDB `Type` for `using SomeTypedef = long`: ``` Type{0x00002e03} , name = "SomeTypedef", size = 4, compiler_type = 0x000002becd8d8620 long ``` with this PR, the following is created: ``` Type{0x00002e03} , name = "SomeTypedef", size = 4, compiler_type = 0x0000024d6a7e3c90 typedef SomeTypedef ``` This matches the behavior of the DIA PDB plugin and works towards making [`Shell/SymbolFile/PDB/typedefs.test`](https://github.com/llvm/llvm-project/blob/main/lldb/test/Shell/SymbolFile/PDB/typedefs.test) pass with the native plugin. I added a similar test to the `NativePDB` shell tests to capture the current state, which doesn't quite match that of DIA yet. I'll add some comments on what's missing on this PR, because I'm not fully sure what the correct output would be.
Diffstat (limited to 'llvm/lib/Object/Object.cpp')
0 files changed, 0 insertions, 0 deletions