clang-cl -m32 crashes on Target: armv8l-unknown-linux-gnueabihf #45212
Labels
bugzilla
Issues migrated from bugzilla
clang:driver
'clang' and 'clang++' user-facing binaries. Not 'clang-cl'
Extended Description
Following lldb test fail due to clang-cl crashing with -m32 option with Target: armv8l-unknown-linux-gnueabihf
lldb-shell :: SymbolFile/NativePDB/ast-functions.cpp
lldb-shell :: SymbolFile/NativePDB/ast-methods.cpp
lldb-shell :: SymbolFile/NativePDB/ast-types.cpp
lldb-shell :: SymbolFile/NativePDB/bitfields.cpp
lldb-shell :: SymbolFile/NativePDB/break-by-function.cpp
lldb-shell :: SymbolFile/NativePDB/break-by-line.cpp
lldb-shell :: SymbolFile/NativePDB/function-types-builtins.cpp
lldb-shell :: SymbolFile/NativePDB/function-types-classes.cpp
lldb-shell :: SymbolFile/NativePDB/global-classes.cpp
lldb-shell :: SymbolFile/NativePDB/globals-bss.cpp
lldb-shell :: SymbolFile/NativePDB/globals-fundamental.cpp
lldb-shell :: SymbolFile/NativePDB/nested-types.cpp
lldb-shell :: SymbolFile/NativePDB/source-list.cpp
lldb-shell :: SymbolFile/NativePDB/tag-types.cpp
Test log given below:
FAIL: lldb-shell :: SymbolFile/NativePDB/tag-types.cpp (1141 of 2017)
******************** TEST 'lldb-shell :: SymbolFile/NativePDB/tag-types.cpp' FAILED ********************
Script:
: 'RUN: at line 5'; '/usr/bin/python3.6' /home/omair.javaid/buildslave/lldb-cmake-arm/llvm-project/lldb/test/Shell/helper/build.py --compiler=any --arch=32 --tools-dir=/home/omair.javaid/buildslave/lldb-cmake-arm/build/./bin --libs-dir=/home/omair.javaid/buildslave/lldb-cmake-arm/build/./lib --compiler=clang-cl --nodefaultlib -o /home/omair.javaid/buildslave/lldb-cmake-arm/build/tools/lldb/test/SymbolFile/NativePDB/Output/tag-types.cpp.tmp.exe -- /home/omair.javaid/buildslave/lldb-cmake-arm/llvm-project/lldb/test/Shell/SymbolFile/NativePDB/tag-types.cpp
: 'RUN: at line 6'; env LLDB_USE_NATIVE_PDB_READER=1 /home/omair.javaid/buildslave/lldb-cmake-arm/build/bin/lldb --no-lldbinit -S /home/omair.javaid/buildslave/lldb-cmake-arm/build/tools/lldb/test/Shell/lit-lldb-init -f /home/omair.javaid/buildslave/lldb-cmake-arm/build/tools/lldb/test/SymbolFile/NativePDB/Output/tag-types.cpp.tmp.exe -s /home/omair.javaid/buildslave/lldb-cmake-arm/llvm-project/lldb/test/Shell/SymbolFile/NativePDB/Inputs/tag-types.lldbinit | /home/omair.javaid/buildslave/lldb-cmake-arm/build/bin/FileCheck /home/omair.javaid/buildslave/lldb-cmake-arm/llvm-project/lldb/test/Shell/SymbolFile/NativePDB/tag-types.cpp
Exit Code: 70
Command Output (stdout):
Cleaning tag-types.ilk
Cleaning tag-types.cpp.tmp.exe-tag-types.obj
Cleaning tag-types.cpp.tmp.pdb
Cleaning tag-types.cpp.tmp.exe
compiling tag-types.cpp -> tag-types.cpp.tmp.exe-tag-types.obj
STDOUT:
STDERR:
fatal error: error in backend: target does not implement codeview register mapping
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: /home/omair.javaid/buildslave/lldb-cmake-arm/build/bin/clang-cl -m32 /Od /GS- /GR- /Z7 -Xclang -fkeep-static-consts -fms-compatibility-version=19 /c /Fo/home/omair.javaid/buildslave/lldb-cmake-arm/build/tools/lldb/test/SymbolFile/NativePDB/Output/tag-types.cpp.tmp.exe-tag-types.obj -- /home/omair.javaid/buildslave/lldb-cmake-arm/llvm-project/lldb/test/Shell/SymbolFile/NativePDB/tag-types.cpp
1. parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module '/home/omair.javaid/buildslave/lldb-cmake-arm/llvm-project/lldb/test/Shell/SymbolFile/NativePDB/tag-types.cpp'.
4. Running pass 'ARM Assembly Printer' on function '@main'
clang-11: error: clang frontend command failed with exit code 70 (use -v to see invocation)
clang version 11.0.0 (/home/omair.javaid/buildslave/lldb-cmake-arm/llvm-project/clang 6d23f29)
Target: armv8l-pc-windows-msvc
Thread model: posix
InstalledDir: /home/omair.javaid/buildslave/lldb-cmake-arm/build/bin
clang-11: note: diagnostic msg:
********************
The text was updated successfully, but these errors were encountered: