RISC-V port
Luís Marques
luis at luismarques.eu
Tue May 22 14:31:17 UTC 2018
On Tuesday, 22 May 2018 at 12:42:47 UTC, Luís Marques wrote:
> After setting the ExceptionType the exceptions weren't working
> correctly even with clang++. After diving into the details I
> found out that the use of .uleb128 in .gcc_except_table was
> preventing relocations of symbols referenced in that table from
> being generated. I changed LLVM's backend configuration in
> MCObjectFileInfo.cpp to use the correct types and with clang++
> exceptions now seem to be working, at least the minimal case I
> tested. LDC even after rebuilding is still using .uleb128 in
> .gcc_except_table, which is surprising, since it would seem
> that that configuration only depends on the chosen triple. So
> now I'm solving that part of the puzzle.
I still haven't found it. Since this part is LDC specific and not
LLVM specific, help here would be most appreciated :D
More information about the digitalmars-d-ldc
mailing list