Instantiation of the MachineVerifierPass through
PassInfo::getNormalCtor would yield a segfault since the default
constructor of the MachineVerifierPass takes a reference to nullptr.
Patch by Simone Pellegrini
Differential D31387
MachineVerifier: avoid reference to nullptr svenvh on Mar 27 2017, 3:45 AM. Authored by
Details Instantiation of the MachineVerifierPass through Patch by Simone Pellegrini
Diff Detail
Event TimelineComment Actions Looks good (optionally, if you like, you could switch the parameter type to std::string value (not reference) and initialize the member with std::move of the parameter) |