-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Closed
Labels
A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-pluginsArea: compiler plugins (removed in https://github.com/rust-lang/rust/pull/116412)Area: compiler plugins (removed in https://github.com/rust-lang/rust/pull/116412)
Description
Started occurring after f9d4149 merged
To exemplify:
- set
LLVM_CONFIGenvironment variable tollvm-configpath cargo build --verbose
Result of stepping through the code with LLDB
Another example of a module pass exemplifying a crash:
bool InstrumentationPass::runOnModule(Module &M) {
LLVMContext &C = M.getContext();
IntegerType *Int8Ty = IntegerType::getInt8Ty(C);
llvm::Type *i = PointerType::get(Int8Ty, 0); // segfault happens here
return true;
}This is preventing afl.rs from upgrading compatibility with any Rust version >1.2:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-pluginsArea: compiler plugins (removed in https://github.com/rust-lang/rust/pull/116412)Area: compiler plugins (removed in https://github.com/rust-lang/rust/pull/116412)