Issue 144931
Summary [lld] Associative COMDAT symbol '.str.4' is not a key for its COMDAT
Labels lld
Assignees
Reporter thatgato
    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.*
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to