mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 17:25:21 +00:00
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
This commit is contained in:
@@ -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 }
|
||||
|
||||
|
@@ -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 }
|
||||
|
||||
|
Reference in New Issue
Block a user