Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault llvm-16 (caused by insert_basic_block_after?) #7

Open
Jakub259 opened this issue Dec 5, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Jakub259
Copy link

Jakub259 commented Dec 5, 2023

versions:
OS: Fedora Linux 39 x86_64
LLVM:
llvm16.x86_64 16.0.6-5.fc39 @fedora
llvm16-devel.x86_64 16.0.6-5.fc39 @fedora
llvm16-libs.x86_64 16.0.6-5.fc39 @fedora
llvm16-static.x86_64 16.0.6-5.fc39 @fedora

repro.zip

reproduction:

$ unzip repro.zip
$ cd repro
$ cargo b
$ opt-16 --load-pass-plugin=./target/debug/librepro.so  --passes='my_pass' file.ll -S -o file_out.ll

expected behavior:

file_out.ll is created

actual behavior:

segmentation fault (core dumped)

output.txt

@Jakub259 Jakub259 changed the title Segmentation fault llvm-16 Segmentation fault llvm-16 (caused by insert_basic_block_after?) Dec 5, 2023
@jamesmth jamesmth added the bug Something isn't working label Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants