aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-02-22 23:50:01 +0000
committerEric Christopher <echristo@gmail.com>2013-02-22 23:50:01 +0000
commit1683b304e0487700c2f4447e7c72c62fb9f3a24c (patch)
treefbd6ed146c87da49ec4c4e97d99b4ba586c67712 /include
parent4e7cd1c2daf9d576af127c1c035cede64258de80 (diff)
downloadexternal_llvm-1683b304e0487700c2f4447e7c72c62fb9f3a24c.zip
external_llvm-1683b304e0487700c2f4447e7c72c62fb9f3a24c.tar.gz
external_llvm-1683b304e0487700c2f4447e7c72c62fb9f3a24c.tar.bz2
Add a TODO and explain when we can get rid of the isMain field.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175932 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/DebugInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h
index 88ba994..a281f22 100644
--- a/include/llvm/DebugInfo.h
+++ b/include/llvm/DebugInfo.h
@@ -192,7 +192,7 @@ namespace llvm {
/// code generator accepts maximum one main compile unit per module. If a
/// module does not contain any main compile unit then the code generator
/// will emit multiple compile units in the output object file.
-
+ // TODO: This can be removed when we remove the legacy debug information.
bool isMain() const { return getUnsignedField(6) != 0; }
bool isOptimized() const { return getUnsignedField(7) != 0; }
StringRef getFlags() const { return getStringField(8); }