Description
Version: LD 20.1.2
Host OS: Windows 10
Flags: -O0 -fno-omit-frame-pointer -flto -fsanitize=address,undefined -g -Wall -Wextra -static
Note: Removing the -flto flag fixes the crash.
Stacktrace / Error message: https://pastebin.com/BxSLEBpW
Link to my project where the crash occured: https://github.com/thatgato/SCLIReimagined/tree/llvm-bug-report
I saved the state of the code onto that separate branch, hoping it would help!
The code is incomplete. I suspect the crash originates from either the Logger.cpp
or Process.cpp
files, as commenting out main.cpp
's lines 29 & 30
fixes the crash. Before I added the functionality on those lines, I have never encountered this crash.
I use CLion as my IDE, so some of the CMake configuration might not be directly included in the CMakeLists.