summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo
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
commit3dca59902bfb0a6160bde894401716e4ecc13f38 (patch)
tree84a2290c197a1b74e2f0da759bc0996bad090afd /llvm/test/DebugInfo
parent553eb4a8804314f09990b409c9408de3ab40ae48 (diff)
downloadbcm5719-llvm-3dca59902bfb0a6160bde894401716e4ecc13f38.tar.gz
bcm5719-llvm-3dca59902bfb0a6160bde894401716e4ecc13f38.zip
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. llvm-svn: 210379
Diffstat (limited to 'llvm/test/DebugInfo')
-rw-r--r--llvm/test/DebugInfo/X86/dwarf-public-names.ll6
-rw-r--r--llvm/test/DebugInfo/dwarf-public-names.ll6
2 files changed, 4 insertions, 8 deletions
diff --git a/llvm/test/DebugInfo/X86/dwarf-public-names.ll b/llvm/test/DebugInfo/X86/dwarf-public-names.ll
index cbfba0e8055..793971a5f89 100644
--- a/llvm/test/DebugInfo/X86/dwarf-public-names.ll
+++ b/llvm/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 }
diff --git a/llvm/test/DebugInfo/dwarf-public-names.ll b/llvm/test/DebugInfo/dwarf-public-names.ll
index bedfa183554..72189641e3a 100644
--- a/llvm/test/DebugInfo/dwarf-public-names.ll
+++ b/llvm/test/DebugInfo/dwarf-public-names.ll
@@ -41,15 +41,13 @@
; Check for each name in the output.
; CHECK-DAG: "ns"
-; FIXME: This should be C::static_member_function
-; CHECK-DAG: "static_member_function"
+; CHECK-DAG: "C::static_member_function"
; CHECK-DAG: "global_variable"
; CHECK-DAG: "ns::global_namespace_variable"
; CHECK-DAG: "ns::global_namespace_function"
; CHECK-DAG: "global_function"
; CHECK-DAG: "C::static_member_variable"
-; FIXME: This should be C::member_function
-; CHECK-DAG: "member_function"
+; CHECK-DAG: "C::member_function"
%struct.C = type { i8 }
OpenPOWER on IntegriCloud