Skip to content

Commit 4410f55

Browse files
committed
swift-llvm-opt: adjust for SVN r276687
LLVM SVN r276687 ported the SymbolRewriter pass to the new PM. This results in the constructor being renamed. Adjust the swift-llvm-opt tool accordingly.
1 parent 95705b6 commit 4410f55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/swift-llvm-opt/LLVMOpt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ int main(int argc, char **argv) {
224224
// supported.
225225
initializeCodeGenPreparePass(Registry);
226226
initializeAtomicExpandPass(Registry);
227-
initializeRewriteSymbolsPass(Registry);
227+
initializeRewriteSymbolsLegacyPassPass(Registry);
228228
initializeWinEHPreparePass(Registry);
229229
initializeDwarfEHPreparePass(Registry);
230230
initializeSjLjEHPreparePass(Registry);

0 commit comments

Comments
 (0)