rellic
rellic copied to clipboard
Invalid operand in IRToASTVisitor.cpp:264
# Ubuntu 18.04
cd postgresql-12/src/backend/storage/file
# generate from fd.c
clang-10 -c -g -emit-llvm -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fno-discard-value-names -I../../../../src/include -D_GNU_SOURCE -DHAVE_SYNC_FILE_RANGE -o fd.10.bc fd.c
rellic-decomp-10.0 --input fd.10.bc --output fd.10gen.c
Failed.
F0305 23:03:55.995343 20650 IRToASTVisitor.cpp:264] Invalid operand
*** Check failure stack trace: ***
@ 0x1c8ad1c google::LogMessageFatal::~LogMessageFatal()
@ 0x7f3994 rellic::IRToASTVisitor::GetOperandExpr()
[1] 20650 abort (core dumped) rellic-decomp-10.0 --input fd.10.bc --output fd.10gen.c
Related to #81 #77 #113
Hi @TimHe95, would you be able to provide the bc
file that's causing the issue? The ll
version would be even better.
Also, it seems you are using an old version of rellic -- we don't support LLVM 10 anymore. Please try again using the latest commit in the master branch compiled against LLVM 13.
I'm closing this for now. Feel free to reopen if needed