[llvm-bugs] [Bug 48054] Bug destroying data in utils/TableGen/CodeGenDAGPatterns.cpp

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Nov 6 10:33:27 PST 2020


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

Reid Kleckner <rnk at google.com> changed:

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

--- Comment #3 from Reid Kleckner <rnk at google.com> ---
I think this is https://bugs.llvm.org/show_bug.cgi?id=46176

It looks like the build is 32-bit, judging by the width of the hex pointers in
the stack trace. Debug is the default CMake config, so that's probably in play
too.

It's an MSVC bug:
https://developercommunity.visualstudio.com/content/problem/1179643/msvc-copies-overaligned-non-trivially-copyable-par.html

MSVC passes SmallVector by value incorrectly in this config. ¯\_(ツ)_/¯

We landed a workaround, but I don't think it's in LLVM 10:
http://github.com/llvm/llvm-project/commit/4e3edef4b8b637c0c76897497eb7c66f00157210

*** This bug has been marked as a duplicate of bug 46176 ***

-- 
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/20201106/a1ae3659/attachment-0001.html>


More information about the llvm-bugs mailing list