Skip to content

Add Support for Parsing Pass Names in the InstrumentationPMDriver #71

@matinraayai

Description

@matinraayai

@Iasonaskrpr to be able to test an instrumentation pass we need to add logic for it to:

  • Accept a list of pass names as a command line argument.
  • If the list of pass names is not empty, it parses them and constructs an instrumentation pass pipeline.

Some challenges that I can think of:

  • You need to distinguish between IR and MIR passes when parsing the names, because they have separate PMs. I think the best way to get around it to have two separate CLI arguments, one deal with IR pass names and the other deals with MIR pass names.
  • Although you won't need it right now, we also need a way to read in serialized LLVM IR/MIR Module and MMI. We can discuss this further as you add the pipeline parsing.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions