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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to