You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can't include proprietary project info, but here are some of the compiler flags passed to clang++-12 -O0 -fexperimental-new-pass-manager -fpass-plugin=/usr/lib/mull-ir-frontend-12 -g -grecord-command-line -fvisibility=hidden -stdlib=libc++ -msse4 -fstack-protector -D_FORTIFY_SOURCE=2 -fcolor-diagnostics -O0 -DNDEBUG -D_NOOPT -std=c++17 -fcolor-diagnostics -Wrange-loop-analysis -Wimplicit-fallthrough -fno-standalone-debug -Xclang -fuse-ctor-homing -ggdb -g -fno-math-errno -ffp-contract=off -Wall -Werror -Wno-unknown-warning-option -Wno-unused-but-set-variable -faligned-allocation -DRBX_CONFIG_NOOPT -DLOVE_ALL_ACCESS -fPIC -Winvalid-pch -Xclang -include-pch -Xclang /home/.../build/ninja/common-tests/x86_64/noopt/PCH/CMakeFiles/default_pch_STATIC.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /home/.../build/ninja/common-tests/x86_64/noopt/PCH/CMakeFiles/default_pch_STATIC.dir/cmake_pch.hxx -MD -MT Base/CMakeFiles/Base.dir/src/***.cpp.o -MF Base/CMakeFiles/Base.dir/src/***.cpp.o.d -o Base/CMakeFiles/Base.dir/src/***.cpp.o -c /home/.../***.cpp
I had passed -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON to stop this happening to another file, and it worked, but there are still PCH-related args on this command line so I guess it didn't stick for everything.
The text was updated successfully, but these errors were encountered:
Hi @bearbones, thanks for the report! I added a test case with PCH, but it is perhaps too simple to trigger the issue you're observing.
I'd appreciate if you can reduce the crash on your setup to a small reproducible sample, it would help a lot on fixing this specific issue.
Possibly related to bad path resolution when compiling with PCH or file prefix maps.
Can't include proprietary project info, but here are some of the compiler flags passed to clang++-12
-O0 -fexperimental-new-pass-manager -fpass-plugin=/usr/lib/mull-ir-frontend-12 -g -grecord-command-line -fvisibility=hidden -stdlib=libc++ -msse4 -fstack-protector -D_FORTIFY_SOURCE=2 -fcolor-diagnostics -O0 -DNDEBUG -D_NOOPT -std=c++17 -fcolor-diagnostics -Wrange-loop-analysis -Wimplicit-fallthrough -fno-standalone-debug -Xclang -fuse-ctor-homing -ggdb -g -fno-math-errno -ffp-contract=off -Wall -Werror -Wno-unknown-warning-option -Wno-unused-but-set-variable -faligned-allocation -DRBX_CONFIG_NOOPT -DLOVE_ALL_ACCESS -fPIC -Winvalid-pch -Xclang -include-pch -Xclang /home/.../build/ninja/common-tests/x86_64/noopt/PCH/CMakeFiles/default_pch_STATIC.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /home/.../build/ninja/common-tests/x86_64/noopt/PCH/CMakeFiles/default_pch_STATIC.dir/cmake_pch.hxx -MD -MT Base/CMakeFiles/Base.dir/src/***.cpp.o -MF Base/CMakeFiles/Base.dir/src/***.cpp.o.d -o Base/CMakeFiles/Base.dir/src/***.cpp.o -c /home/.../***.cpp
I had passed
-DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON
to stop this happening to another file, and it worked, but there are still PCH-related args on this command line so I guess it didn't stick for everything.The text was updated successfully, but these errors were encountered: