mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 00:17:01 +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:
@@ -162,6 +162,14 @@ namespace llvm {
|
||||
// createJumpInstrTableInfoPass - This creates a pass that stores information
|
||||
// about the jump tables created by JumpInstrTables
|
||||
ImmutablePass *createJumpInstrTableInfoPass();
|
||||
|
||||
//===--------------------------------------------------------------------===//
|
||||
//
|
||||
// createMemDerefPrinter - This pass collects memory dereferenceability
|
||||
// information and prints it with -analyze.
|
||||
//
|
||||
FunctionPass *createMemDerefPrinter();
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user