summaryrefslogtreecommitdiff
path: root/lldb/test/Shell/SymbolFile/NativePDB/break-by-function.cpp
diff options
context:
space:
mode:
authornerix <nerixdev@outlook.de>2025-09-24 16:12:54 +0200
committerGitHub <noreply@github.com>2025-09-24 16:12:54 +0200
commite98f34eb08b2bf7aed787e7f8a7cea9111f044c8 (patch)
tree68b9fbc83e3b55090d3b0c8908f2685ab20c7a4e /lldb/test/Shell/SymbolFile/NativePDB/break-by-function.cpp
parentfc525bf4229e6e651ad36bade0d82e95d4eeee0d (diff)
[LLDB][NativePDB] Create functions with mangled name (#149701)
Before, functions created using the NativePDB plugin would not know about their mangled name. This showed when printing a stacktrace. There, only the function name was shown. For https://github.com/llvm/llvm-project/issues/143149, the mangled function name is required to separate different parts. This PR adds that name if available. The Clang AST nodes also take in a mangled name, which was previously unset. I don't think this unblocks anything further, because Clang can mangle the function anyway.
Diffstat (limited to 'lldb/test/Shell/SymbolFile/NativePDB/break-by-function.cpp')
-rw-r--r--lldb/test/Shell/SymbolFile/NativePDB/break-by-function.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/test/Shell/SymbolFile/NativePDB/break-by-function.cpp b/lldb/test/Shell/SymbolFile/NativePDB/break-by-function.cpp
index a580d574a9ca..d4499373bb86 100644
--- a/lldb/test/Shell/SymbolFile/NativePDB/break-by-function.cpp
+++ b/lldb/test/Shell/SymbolFile/NativePDB/break-by-function.cpp
@@ -50,9 +50,9 @@ int main(int argc, char **argv) {
// CHECK: 1: name = 'main', locations = 1
// CHECK: 1.1: where = break-by-function.cpp.tmp.exe`main + {{[0-9]+}}
// CHECK: 2: name = 'OvlGlobalFn', locations = 3
-// CHECK: 2.1: where = break-by-function.cpp.tmp.exe`OvlGlobalFn + {{[0-9]+}}
-// CHECK: 2.2: where = break-by-function.cpp.tmp.exe`OvlGlobalFn
-// CHECK: 2.3: where = break-by-function.cpp.tmp.exe`OvlGlobalFn + {{[0-9]+}}
+// CHECK: 2.1: where = break-by-function.cpp.tmp.exe`int OvlGlobalFn(int) + {{[0-9]+}}
+// CHECK: 2.2: where = break-by-function.cpp.tmp.exe`int OvlGlobalFn(int, int)
+// CHECK: 2.3: where = break-by-function.cpp.tmp.exe`int OvlGlobalFn(int, int, int) + {{[0-9]+}}
// CHECK: 3: name = 'StaticFn', locations = 1
// CHECK: 3.1: where = break-by-function.cpp.tmp.exe`StaticFn + {{[0-9]+}}
// CHECK: 4: name = 'DoesntExist', locations = 0 (pending)