[llvm-dev] Crash in SmallVector with latest MSVC 2019 (debug mode)
De Azevedo Piovezan, Felipe via llvm-dev
llvm-dev at lists.llvm.org
Wed Jan 22 11:04:30 PST 2020
> The crash occurs only with clang compile in debug mode.
Sanity check: you're not mixing clang in debug mode with LLVM in release mode, right?
I've seen similar crashes in DenseMap when I *accidentally* did the above.
From: llvm-dev <llvm-dev-bounces at lists.llvm.org> on behalf of Francois Pichet via llvm-dev <llvm-dev at lists.llvm.org>
Sent: Wednesday, January 22, 2020 1:00 PM
To: llvm-dev at lists.llvm.org <llvm-dev at lists.llvm.org>
Subject: [llvm-dev] Crash in SmallVector with latest MSVC 2019 (debug mode)
Is anybody using the LLVM/clang/lldb compiled with the MSVC 2019 (x86-32bit) successfully?
I am getting crash in SmallVector at multiple places after a llvm:SmallVector is being moved around in move constructor or move operator=.
Not sure what is going on.
free(this->begin()); // <=== crash here, line 336 SmallVector.h
The crash occurs only with clang compile in debug mode. Release mode is fine.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev