summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-10-17 23:16:42 +0000
committerChris Lattner <sabre@nondot.org>2006-10-17 23:16:42 +0000
commita97906b6e6e85934d6cb71ddf3ca9bb72fe66695 (patch)
tree1c0f8451d130af8e6cd6e73818222c810e8e8896 /include/llvm/CodeGen
parentae1dc403274d3a64bcee31f15e2d25e4b7178811 (diff)
downloadllvm-a97906b6e6e85934d6cb71ddf3ca9bb72fe66695.tar.gz
llvm-a97906b6e6e85934d6cb71ddf3ca9bb72fe66695.tar.bz2
llvm-a97906b6e6e85934d6cb71ddf3ca9bb72fe66695.tar.xz
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')
-rw-r--r--include/llvm/CodeGen/MachineDebugInfo.h5
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,