Jonas Maebe via fpc-devel wrote:
Because of this reason, FPC only uses llvm.dbg.addr. But clang still
uses llvm.dbg.declare, and when I change FPC to use that one, the
debug info for the variables in your test program is correct. So I'll
change FPC to also use llvm.dbg.declare.
Done.
Just out of curiosity: Clang is by fpc used as a driver program, as it is asier to call it than
tools like llc, opt and llvm-linker ?
Regards,
Adriaan van Os
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel