summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-08-02 00:49:44 +0000
committerEric Christopher <echristo@gmail.com>2013-08-02 00:49:44 +0000
commitbe9f508aecfd255f47f8ea3cfe4fadbf1382ba10 (patch)
treea62666eeaba0ec564b9ebe589822332aebfc11cf /include
parent7eef3bdd7b6881110397352adca0bdc5671ff48e (diff)
downloadllvm-be9f508aecfd255f47f8ea3cfe4fadbf1382ba10.tar.gz
llvm-be9f508aecfd255f47f8ea3cfe4fadbf1382ba10.tar.bz2
llvm-be9f508aecfd255f47f8ea3cfe4fadbf1382ba10.tar.xz
Temporarily revert "Debug Info Finder|Verifier: handle DbgLoc attached to
instructions." in an attempt to bring back some bots. This reverts commit r187609. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187638 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/DebugInfo.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h
index f7e6434b4d..9fb12f8feb 100644
--- a/include/llvm/DebugInfo.h
+++ b/include/llvm/DebugInfo.h
@@ -717,12 +717,10 @@ namespace llvm {
/// cleanseInlinedVariable - Remove inlined scope from the variable.
DIVariable cleanseInlinedVariable(MDNode *DV, LLVMContext &VMContext);
- /// DebugInfoFinder tries to list all debug info MDNodes used in a module. To
+ /// DebugInfoFinder tries to list all debug info MDNodes in a module. To
/// list debug info MDNodes used by an instruction, DebugInfoFinder uses
- /// processDeclare, processValue and processLocation to handle DbgDeclareInst,
- /// DbgValueInst and DbgLoc attached to instructions. processModule will go
- /// through all DICompileUnits in llvm.dbg.cu and list debug info MDNodes
- /// used by the CUs.
+ /// processDeclare and processValue. processModule will go through
+ /// all DICompileUnits and list debug info MDNodes used by the CUs.
class DebugInfoFinder {
public:
/// processModule - Process entire module and collect debug info
@@ -733,8 +731,6 @@ namespace llvm {
void processDeclare(const DbgDeclareInst *DDI);
/// Process DbgValueInst.
void processValue(const DbgValueInst *DVI);
- /// processLocation - Process DILocation.
- void processLocation(DILocation Loc);
/// Clear all lists.
void reset();
@@ -748,6 +744,9 @@ namespace llvm {
/// processSubprogram - Process DISubprogram.
void processSubprogram(DISubprogram SP);
+ /// processLocation - Process DILocation.
+ void processLocation(DILocation Loc);
+
void processScope(DIScope Scope);
/// addCompileUnit - Add compile unit into CUs.