Pass that adds DWARF path discriminators to the IR.
Declared in <llvm/Transforms/Utils/AddDiscriminators.h>
class AddDiscriminatorsPass
: public RequiredPassInfoMixin<AddDiscriminatorsPass>
Path discriminators distinguish which CFG path was taken inside sub-graphs whose instructions share the same line and column number information.
| Name | Description |
|---|---|
RequiredPassInfoMixin<AddDiscriminatorsPass> | A CRTP mix-in for passes that should not be skipped. |
| Name | Description |
|---|---|
run | Run the add-discriminators pass over the function. |
| Name | Description |
|---|---|
isRequired | Return true; required passes cannot be skipped. |