llvm-plugin-rs
llvm-plugin-rs copied to clipboard
Out-of-tree LLVM passes in Rust
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](https://github.com/jamesmth/llvm-plugin-rs/files/13573866/repro.zip) reproduction: ```bash $ unzip repro.zip $ cd repro $ cargo...
See [MacOS Test Suite #122](https://github.com/jamesmth/llvm-plugin-rs/actions/runs/4846527151/jobs/8636115788).
When running: ``` opt --load-pass-plugin=plugin5.dll --passes="mpass,function(fpass)" tests/test.ll -disable-output ``` Exception `0x80000003` is raised, and the program fails with status code `C0000374`. Call stack: ``` RtlIsZeroMemory (@RtlIsZeroMemory:62) RtlpNtSetValueKey (@RtlpNtSetValueKey:355) RtlpNtSetValueKey (@RtlpNtSetValueKey:567)...
## Description Function passes do not work. Module passes work. ## To Reproduce I have reproduced this on a clean macOS 15 docker image. You can reproduce as follows: 1....