mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-19 17:24:57 +00:00
Introduce print-memderefs to test isDereferenceablePointer
Since testing the function indirectly is tricky, introduce a direct print-memderefs pass, in the same spirit as print-memdeps, which prints dereferenceability information matched by FileCheck. Differential Revision: http://reviews.llvm.org/D7075 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228369 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -55,6 +55,7 @@ void llvm::initializeAnalysis(PassRegistry &Registry) {
|
||||
initializeLintPass(Registry);
|
||||
initializeLoopInfoWrapperPassPass(Registry);
|
||||
initializeMemDepPrinterPass(Registry);
|
||||
initializeMemDerefPrinterPass(Registry);
|
||||
initializeMemoryDependenceAnalysisPass(Registry);
|
||||
initializeModuleDebugInfoPrinterPass(Registry);
|
||||
initializePostDominatorTreePass(Registry);
|
||||
|
Reference in New Issue
Block a user