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

Allow plugins to register LLVM passes #24207

Merged
merged 1 commit into from
Apr 9, 2015
Merged

Conversation

kmcallister
Copy link
Contributor

r? @brson

I'm using this to integrate rustc with american-fuzzy-lop. Building with afl instrumentation is no different from loading any other plugin library.

I'd like this PR to include a run-make test with a custom LLVM pass; however I'm not sure it's worth the trouble of building C++ code and linking LLVM from the test suite (are there existing tests that do this?)

@brson
Copy link
Contributor

brson commented Apr 8, 2015

This looks ok to me. Although I don't like exposing more LLVM-ness, this is already behind the plugin gate which is known to be problematic.

I want AFL to work.

@brson
Copy link
Contributor

brson commented Apr 8, 2015

Waiting to hear what @nrc thinks.

@kmcallister
Copy link
Contributor Author

I want AFL to work.

Then I have good news for you.

@brson
Copy link
Contributor

brson commented Apr 8, 2015

@bors r+

@bors
Copy link
Contributor

bors commented Apr 8, 2015

📌 Commit 0cb9379 has been approved by brson

Manishearth added a commit to Manishearth/rust that referenced this pull request Apr 9, 2015
 r? @brson

I'm using this to integrate rustc with [american-fuzzy-lop](http://lcamtuf.coredump.cx/afl/). Building with afl instrumentation is no different from loading any other plugin library.

I'd like this PR to include a `run-make` test with a custom LLVM pass; however I'm not sure it's worth the trouble of building C++ code and linking LLVM from the test suite (are there existing tests that do this?)
Manishearth added a commit to Manishearth/rust that referenced this pull request Apr 9, 2015
 r? @brson

I'm using this to integrate rustc with [american-fuzzy-lop](http://lcamtuf.coredump.cx/afl/). Building with afl instrumentation is no different from loading any other plugin library.

I'd like this PR to include a `run-make` test with a custom LLVM pass; however I'm not sure it's worth the trouble of building C++ code and linking LLVM from the test suite (are there existing tests that do this?)
@bors bors merged commit 0cb9379 into rust-lang:master Apr 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants