[LLVMbugs] [Bug 9371] New: Not possible to export member function of template-class (symbol still hidden)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Mar 2 04:48:55 PST 2011


http://llvm.org/bugs/show_bug.cgi?id=9371

           Summary: Not possible to export member function of
                    template-class (symbol still hidden)
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: tor.arne.vestbo at nokia.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


In the following testcase:

https://gist.github.com/584533

TemplateClass<type>::exportedMemberFunction() is not exported when compiled
with Clang, but is when compiled with GCC:

libfoo.clang.dylib:
0000000000000f50 t TemplateClass<(Type)0>::exportedMemberFunction()
0000000000000000 t __mh_dylib_header
                 U dyld_stub_binder

libfoo.gcc.dylib:
0000000000000f44 T TemplateClass<(Type)0>::exportedMemberFunction()
                 U ___gxx_personality_v0
0000000000000000 t __mh_dylib_header
                 U dyld_stub_binder

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list