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

            Bug ID: 38032
           Summary: undefined reference in .debug_info with a template
                    static constexpr array
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangb...@nondot.org
          Reporter: blastr...@free.fr
                CC: llvm-bugs@lists.llvm.org

Created attachment 20512
  --> https://bugs.llvm.org/attachment.cgi?id=20512&action=edit
minimal example

In the attached example, linking fails with clang trunk with the -g switch:

/tmp/t-1d6fe7.o:(.debug_info+0x66): undefined reference to
`_u::_t<void>::_literal'
clang: error: linker command failed with exit code 1 (use -v to see invocation)

The symbol is actually defined on line 51.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to