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

            Bug ID: 40414
           Summary: [ThinLTO] Missing vtable COMDAT symbol after r347948
           Product: new-bugs
           Version: 7.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
            Blocks: 40331

After r350948, a Win64 Firefox ThinLTO build fails with:

LLVM ERROR: Associative COMDAT symbol '??_7KeywordsSink@?A0x23271001@@6B@' does
not exist

(aka const `anonymous namespace'::KeywordsSink::`vftable')

Notably it started failing at r350948 and not r340949. I would have thought the
first patch of that pair was pretty innocuous.

Our flags do not include any of: -f[no]split-lto-unit, -fsanitize=cfi, or
-fwhole-program-vtables.

In case it's a clue, the KeywordsSink class is only used within a single
translation unit: https://searchfox.org/mozilla-central/search?q=KeywordsSink

I'm requesting this to be an 8.0.0 blocker as this build config worked for us
in 7.0.1.

I can provide a linkrepro upon request though I'm not sure if that would be
sufficient to investigate this. Let me know if I can help with the debug
somehow. Thanks!


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=40331
[Bug 40331] [meta] 8.0.0 Release Blockers
-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to