forked from OSchip/llvm-project
Fix some layering in StripNonLineTableDebugInfo, moving its declaration from IPO.h to Utils.h to match its implementation
llvm-svn: 328844
This commit is contained in:
parent
f001ead490
commit
f423062aff
|
@ -45,10 +45,6 @@ ModulePass *createStripSymbolsPass(bool OnlyDebugInfo = false);
|
|||
//
|
||||
ModulePass *createStripNonDebugSymbolsPass();
|
||||
|
||||
/// This function returns a new pass that downgrades the debug info in the
|
||||
/// module to line tables only.
|
||||
ModulePass *createStripNonLineTableDebugInfoPass();
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// This pass removes llvm.dbg.declare intrinsics.
|
||||
|
|
|
@ -116,6 +116,10 @@ extern char &LoopSimplifyID;
|
|||
//
|
||||
FunctionPass *createInstructionSimplifierPass();
|
||||
extern char &InstructionSimplifierID;
|
||||
|
||||
/// This function returns a new pass that downgrades the debug info in the
|
||||
/// module to line tables only.
|
||||
ModulePass *createStripNonLineTableDebugInfoPass();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#include "llvm/IR/DebugInfo.h"
|
||||
#include "llvm/Pass.h"
|
||||
#include "llvm/Transforms/IPO.h"
|
||||
#include "llvm/Transforms/Utils.h"
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
|
|
Loading…
Reference in New Issue