You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using LLVM's legacy PM for optimization pipeline was deprecated in 13.0.0 and the relevant functionality was scheduled to be removed after 14.0.0 (got delayed). Clang dropped legacy PM support in D123609 (milestone: 15.0.0). I plan to remove instrumentation passes like gcov, PGO, and sanitizers (milestone: 15.0.0).
src/aotcompile.cpp has code like PM->add(createAddressSanitizerFunctionPass()); which needs to be ported to the new pass manager. You can see llvm-project clang/lib/CodeGen/BackendUtil.cpp for how to use the new pass manager.
LLVM's legacy PM for optimization pipeline may be completely removed in 16.0.0. You may want to migrate to the new pass manager now. llvm-project clang/lib/CodeGen/BackendUtil.cpp can serve as an example using the new pass manager.
The text was updated successfully, but these errors were encountered:
Using LLVM's legacy PM for optimization pipeline was deprecated in 13.0.0 and the relevant functionality was scheduled to be removed after 14.0.0 (got delayed). Clang dropped legacy PM support in D123609 (milestone: 15.0.0). I plan to remove instrumentation passes like gcov, PGO, and sanitizers (milestone: 15.0.0).
src/aotcompile.cpp
has code likePM->add(createAddressSanitizerFunctionPass());
which needs to be ported to the new pass manager. You can see llvm-projectclang/lib/CodeGen/BackendUtil.cpp
for how to use the new pass manager.LLVM's legacy PM for optimization pipeline may be completely removed in 16.0.0. You may want to migrate to the new pass manager now. llvm-project clang/lib/CodeGen/BackendUtil.cpp can serve as an example using the new pass manager.
The text was updated successfully, but these errors were encountered: