[llvm-bugs] [Bug 48030] [ItaniumCXXABI] TLS variable access wrapper optimization causes initializer function alias to be undefined (0)

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Aug 25 10:56:27 PDT 2021


Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Richard Smith <richard-llvm at metafoo.co.uk> ---
> As far as I can tell, the COMDAT definitions in a.cpp and main.cpp are identical. The problem doesn't seem to be that a COMDAT is missing symbols.

This didn't turn out to be entirely true: because the _ZTH function is an alias
to __cxx_global_var_init, and __cxx_global_var_init is in the COMDAT, the _ZTH
symbol effectively points into the COMDAT too.

In any case, the conclusion is the same: __cxx_global_var_init shouldn't be in
the COMDAT. Fixed in cd4d6d7.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210825/cf06fab6/attachment.html>

More information about the llvm-bugs mailing list