Closed b-s-a closed 4 years ago
Yes, debug info is not implemented at all.
Passing -g
stopped crashing a while ago and was effectively ignored, but now it actually outputs debug info so even though nothing exists yet to parse that output, this issue at least can be closed.
I try to run compiler with debug output enabled and optimization (-O1, but fault is caused by any value more than 0). Result: $ ./build/bin/clang --target=z80 --debug -S -O1 -xc -o- - <<< 'int func(int x, int y) { return x * y; }' clang-10: /home/bsa/projects/llvm-project/llvm/include/llvm/Support/LowLevelTypeImpl.h:141: unsigned int llvm::LLT::getScalarSizeInBits() const: Assertion `RawData != 0 && "Invalid Type"' failed. Stack dump:
clang itself was compiled by clang-8 (ubuntu amd64) with debug build type.