https://bugs.llvm.org/show_bug.cgi?id=36777

Fangrui Song <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Fangrui Song <[email protected]> ---
This should have been fixed at some point.

The output of `llvm-readelf --dyn-syms t.so` matches that of `readelf
--dyn-syms t.so`

The check lines need some adjustment:

# CHECK:      Name:
_Z14accepts_stringRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE@@VER1
# CHECK-NEXT: Value: 0
# CHECK-NEXT: Size: 0
# CHECK-NEXT: Binding: Global
# CHECK-NEXT: Type: Function
# CHECK-NEXT: Other: 0
# CHECK-NEXT: Section: .text

# CHECK:      Name: _Z14returns_stringB5cxx11v@@VER1
# CHECK-NEXT: Value: 0
# CHECK-NEXT: Size: 0
# CHECK-NEXT: Binding: Global
# CHECK-NEXT: Type: Function
# CHECK-NEXT: Other: 0
# CHECK-NEXT: Section: .text

_Z14returns_stringB5cxx11v has local binding so it is not in .dynsym

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to