diff options
author | Chris Lattner <sabre@nondot.org> | 2006-10-17 23:16:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-10-17 23:16:42 +0000 |
commit | a97906b6e6e85934d6cb71ddf3ca9bb72fe66695 (patch) | |
tree | 1c0f8451d130af8e6cd6e73818222c810e8e8896 /include/llvm/CodeGen/MachineDebugInfo.h | |
parent | ae1dc403274d3a64bcee31f15e2d25e4b7178811 (diff) |
add a method to remove a line # record.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31025 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineDebugInfo.h')
-rw-r--r-- | include/llvm/CodeGen/MachineDebugInfo.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineDebugInfo.h b/include/llvm/CodeGen/MachineDebugInfo.h index a031ad0c6f..c1134d06af 100644 --- a/include/llvm/CodeGen/MachineDebugInfo.h +++ b/include/llvm/CodeGen/MachineDebugInfo.h @@ -1029,6 +1029,11 @@ public: /// provide correspondence to the source line list. unsigned RecordLabel(unsigned Line, unsigned Column, unsigned Source); + /// RemoveLabelInfo - Remove the specified label # from MachineDebugInfo, for + /// example because the code was deleted. + void RemoveLabelInfo(unsigned LabelUID); + + /// RecordSource - Register a source file with debug info. Returns an source /// ID. unsigned RecordSource(const std::string &Directory, |