diff options
author | Eric Christopher <echristo@gmail.com> | 2013-02-22 23:50:01 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-02-22 23:50:01 +0000 |
commit | 1683b304e0487700c2f4447e7c72c62fb9f3a24c (patch) | |
tree | fbd6ed146c87da49ec4c4e97d99b4ba586c67712 /lib/IR/DIBuilder.cpp | |
parent | 4e7cd1c2daf9d576af127c1c035cede64258de80 (diff) | |
download | external_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 'lib/IR/DIBuilder.cpp')
-rw-r--r-- | lib/IR/DIBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/IR/DIBuilder.cpp b/lib/IR/DIBuilder.cpp index 16632a1..3b69119 100644 --- a/lib/IR/DIBuilder.cpp +++ b/lib/IR/DIBuilder.cpp @@ -98,7 +98,7 @@ void DIBuilder::createCompileUnit(unsigned Lang, StringRef Filename, MDString::get(VMContext, Filename), MDString::get(VMContext, Directory), MDString::get(VMContext, Producer), - // Deprecate isMain field. + // isMain field can be removed when we remove the legacy debug info. ConstantInt::get(Type::getInt1Ty(VMContext), true), // isMain ConstantInt::get(Type::getInt1Ty(VMContext), isOptimized), MDString::get(VMContext, Flags), |