summaryrefslogtreecommitdiff
path: root/test/DebugInfo/X86
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-06-06 22:29:05 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-06-06 22:29:05 +0000
commit8ef9d22f5bc501d5286e4087828f3dc0199b38f1 (patch)
tree9e550711786be82bbc0491eaad1065670ce5f15c /test/DebugInfo/X86
parentebcf48cf9eb4cb8690c37e538ab7fab7fe134bd0 (diff)
downloadllvm-8ef9d22f5bc501d5286e4087828f3dc0199b38f1.tar.gz
llvm-8ef9d22f5bc501d5286e4087828f3dc0199b38f1.tar.bz2
llvm-8ef9d22f5bc501d5286e4087828f3dc0199b38f1.tar.xz
DebugInfo: Use the scope of the function declaration, if any, to name a function in DWARF pubnames
This ensures that member functions, for example, are entered into pubnames with their fully qualified name, rather than inside the global namespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210379 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/X86')
-rw-r--r--test/DebugInfo/X86/dwarf-public-names.ll6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/DebugInfo/X86/dwarf-public-names.ll b/test/DebugInfo/X86/dwarf-public-names.ll
index cbfba0e805..793971a5f8 100644
--- a/test/DebugInfo/X86/dwarf-public-names.ll
+++ b/test/DebugInfo/X86/dwarf-public-names.ll
@@ -44,15 +44,13 @@
; Check for each name in the output.
; LINUX-DAG: "ns"
-; FIXME: This should be C::static_member_function
-; LINUX-DAG: "static_member_function"
+; LINUX-DAG: "C::static_member_function"
; LINUX-DAG: "global_variable"
; LINUX-DAG: "ns::global_namespace_variable"
; LINUX-DAG: "ns::global_namespace_function"
; LINUX-DAG: "global_function"
; LINUX-DAG: "C::static_member_variable"
-; FIXME: This should be C::member_function
-; LINUX-DAG: "member_function"
+; LINUX-DAG: "C::member_function"
%struct.C = type { i8 }