[llvm-bugs] [Bug 40419] New: clang-cl asserts on inline assembly with .def directive in thinlto builds

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jan 22 17:09:37 PST 2019


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

            Bug ID: 40419
           Summary: clang-cl asserts on inline assembly with .def
                    directive in thinlto builds
           Product: clang
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: llvm at inglorion.net
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

Initially reported by Chromium at https://crbug.com/v8/8502

The problem here is that ModuleSymbolTable uses RecordStreamer to scan the
inline assembly for the information that it needs, and RecordStreamer uses the
default implementation for COFF directives (inherited from MCStreamer), which
executes llvm_unreachable.

-- 
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/20190123/4361873a/attachment-0001.html>


More information about the llvm-bugs mailing list