Skip to content

Commit 910f05d

Browse files
committedNov 29, 2014
DebugIR: Delete -debug-ir
llvm-svn: 222945
1 parent ac5e3a3 commit 910f05d

File tree

19 files changed

+1
-1465
lines changed

19 files changed

+1
-1465
lines changed
 

‎llvm/include/llvm/InitializePasses.h

-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ void initializeDAEPass(PassRegistry&);
106106
void initializeDAHPass(PassRegistry&);
107107
void initializeDCEPass(PassRegistry&);
108108
void initializeDSEPass(PassRegistry&);
109-
void initializeDebugIRPass(PassRegistry&);
110109
void initializeDebugInfoVerifierLegacyPassPass(PassRegistry &);
111110
void initializeDeadInstEliminationPass(PassRegistry&);
112111
void initializeDeadMachineInstructionElimPass(PassRegistry&);

‎llvm/include/llvm/Transforms/Instrumentation.h

-31
Original file line numberDiff line numberDiff line change
@@ -93,37 +93,6 @@ inline ModulePass *createDataFlowSanitizerPassForJIT(StringRef ABIListFile =
9393
// checking on loads, stores, and other memory intrinsics.
9494
FunctionPass *createBoundsCheckingPass();
9595

96-
/// createDebugIRPass - Enable interactive stepping through LLVM IR in LLDB (or
97-
/// GDB) and generate a file with the LLVM IR to be
98-
/// displayed in the debugger.
99-
///
100-
/// Existing debug metadata is preserved (but may be modified) in order to allow
101-
/// accessing variables in the original source. The line table and file
102-
/// information is modified to correspond to the lines in the LLVM IR. If
103-
/// Filename and Directory are empty, a file name is generated based on existing
104-
/// debug information. If no debug information is available, a temporary file
105-
/// name is generated.
106-
///
107-
/// @param HideDebugIntrinsics Omit debug intrinsics in emitted IR source file.
108-
/// @param HideDebugMetadata Omit debug metadata in emitted IR source file.
109-
/// @param Directory Embed this directory in the debug information.
110-
/// @param Filename Embed this file name in the debug information.
111-
ModulePass *createDebugIRPass(bool HideDebugIntrinsics,
112-
bool HideDebugMetadata,
113-
StringRef Directory = StringRef(),
114-
StringRef Filename = StringRef());
115-
116-
/// createDebugIRPass - Enable interactive stepping through LLVM IR in LLDB
117-
/// (or GDB) with an existing IR file on disk. When creating
118-
/// a DebugIR pass with this function, no source file is
119-
/// output to disk and the existing one is unmodified. Debug
120-
/// metadata in the Module is created/updated to point to
121-
/// the existing textual IR file on disk.
122-
/// NOTE: If the IR file to be debugged is not on disk, use the version of this
123-
/// function with parameters in order to generate the file that will be
124-
/// seen by the debugger.
125-
ModulePass *createDebugIRPass();
126-
12796
} // End llvm namespace
12897

12998
#endif

‎llvm/lib/Transforms/Instrumentation/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ add_llvm_library(LLVMInstrumentation
22
AddressSanitizer.cpp
33
BoundsChecking.cpp
44
DataFlowSanitizer.cpp
5-
DebugIR.cpp
65
GCOVProfiling.cpp
76
MemorySanitizer.cpp
87
Instrumentation.cpp

0 commit comments

Comments
 (0)
Please sign in to comment.