mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-17 00:46:42 +00:00
privatize more stuff, eliminate vtables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100410 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
105d697593
commit
2b1b3312e0
@ -519,12 +519,38 @@ private:
|
||||
///
|
||||
DIType getBlockByrefType(DIType Ty, std::string Name);
|
||||
|
||||
/// recordSourceLine - Register a source line with debug info. Returns the
|
||||
/// unique label that was emitted and which provides correspondence to
|
||||
/// the source line list.
|
||||
MCSymbol *recordSourceLine(unsigned Line, unsigned Col, MDNode *Scope);
|
||||
|
||||
/// getSourceLineCount - Return the number of source lines in the debug
|
||||
/// info.
|
||||
unsigned getSourceLineCount() const {
|
||||
return Lines.size();
|
||||
}
|
||||
|
||||
/// getOrCreateSourceID - Public version of GetOrCreateSourceID. This can be
|
||||
/// timed. Look up the source id with the given directory and source file
|
||||
/// names. If none currently exists, create a new id and insert it in the
|
||||
/// SourceIds map. This can update DirectoryNames and SourceFileNames maps as
|
||||
/// well.
|
||||
unsigned getOrCreateSourceID(const std::string &DirName,
|
||||
const std::string &FileName);
|
||||
|
||||
/// extractScopeInformation - Scan machine instructions in this function
|
||||
/// and collect DbgScopes. Return true, if atleast one scope was found.
|
||||
bool extractScopeInformation();
|
||||
|
||||
/// collectVariableInfo - Populate DbgScope entries with variables' info.
|
||||
void collectVariableInfo();
|
||||
|
||||
public:
|
||||
//===--------------------------------------------------------------------===//
|
||||
// Main entry points.
|
||||
//
|
||||
DwarfDebug(AsmPrinter *A, Module *M);
|
||||
virtual ~DwarfDebug();
|
||||
~DwarfDebug();
|
||||
|
||||
/// beginModule - Emit all Dwarf sections that should come prior to the
|
||||
/// content.
|
||||
@ -542,32 +568,6 @@ public:
|
||||
///
|
||||
void endFunction(const MachineFunction *MF);
|
||||
|
||||
/// recordSourceLine - Register a source line with debug info. Returns the
|
||||
/// unique label that was emitted and which provides correspondence to
|
||||
/// the source line list.
|
||||
MCSymbol *recordSourceLine(unsigned Line, unsigned Col, MDNode *Scope);
|
||||
|
||||
/// getSourceLineCount - Return the number of source lines in the debug
|
||||
/// info.
|
||||
unsigned getSourceLineCount() const {
|
||||
return Lines.size();
|
||||
}
|
||||
|
||||
/// getOrCreateSourceID - Public version of GetOrCreateSourceID. This can be
|
||||
/// timed. Look up the source id with the given directory and source file
|
||||
/// names. If none currently exists, create a new id and insert it in the
|
||||
/// SourceIds map. This can update DirectoryNames and SourceFileNames maps as
|
||||
/// well.
|
||||
unsigned getOrCreateSourceID(const std::string &DirName,
|
||||
const std::string &FileName);
|
||||
|
||||
/// extractScopeInformation - Scan machine instructions in this function
|
||||
/// and collect DbgScopes. Return true, if atleast one scope was found.
|
||||
bool extractScopeInformation();
|
||||
|
||||
/// collectVariableInfo - Populate DbgScope entries with variables' info.
|
||||
void collectVariableInfo();
|
||||
|
||||
/// beginScope - Process beginning of a scope.
|
||||
void beginScope(const MachineInstr *MI);
|
||||
|
||||
|
@ -176,7 +176,7 @@ public:
|
||||
// Main entry points.
|
||||
//
|
||||
DwarfException(AsmPrinter *A);
|
||||
virtual ~DwarfException();
|
||||
~DwarfException();
|
||||
|
||||
/// EndModule - Emit all exception information that should come after the
|
||||
/// content.
|
||||
|
Loading…
Reference in New Issue
Block a user