Test Issue
pzxpan opened this issue · comments
The ir-builder.spec.ts can't be translated.
The error is "Assertion failed: (CastInst::castIsValid(opc, C, Ty) && "Invalid constantexpr cast!"), function getCast, file /Users/pzx/llvm/llvm-7.0.0.src/lib/IR/Constants.cpp, line1512.
Abort trap: 6",
My configuration is "Info RUN cmake "/Users/pzx/Desktop/panL/llvm-node" --no-warn-unused-cli -G"Ninja" -DCMAKE_JS_VERSION="5.3.0" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_LIBRARY_OUTPUT_DIRECTORY="/Users/pzx/Desktop/panL/llvm-node/build/Release" -DCMAKE_JS_INC="/Users/pzx/.cmake-js/node-x64/v9.10.1/include/node;/Users/pzx/Desktop/panL/llvm-node/node_modules/nan" -DCMAKE_JS_SRC="" -DNODE_RUNTIME="node" -DNODE_RUNTIMEVERSION="9.10.1" -DNODE_ARCH="x64" -DCMAKE_CXX_FLAGS="-D_DARWIN_USE_64_BIT_INODE=1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILDING_NODE_EXTENSION" -DCMAKE_SHARED_LINKER_FLAGS="-undefined dynamic_lookup" -DLLVM_DIR="/usr/local/lib/cmake/llvm"
Not searching for unused variables given on the command line.
-- Found LLVM 7.0.0
-- Using LLVMConfig.cmake in: /usr/local/lib/cmake/llvm
-- Configuring done
-- Generating done
"
The functions "createInsertValue、ConstantStruct.get、createCall、createBitCast“ can't be passed testing.