Fix comment for CheckDebugInfoIntrinsics
authorVictor Hernandez <vhernandez@apple.com>
Tue, 5 Jan 2010 21:13:46 +0000 (21:13 +0000)
committerVictor Hernandez <vhernandez@apple.com>
Tue, 5 Jan 2010 21:13:46 +0000 (21:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92774 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/AutoUpgrade.cpp

index 0676caa2c646e9da0431919a36e5e9091453e65f..216184188ad2fe2c5ee846cd18414e55766d9061 100644 (file)
@@ -480,8 +480,9 @@ void llvm::UpgradeCallsToIntrinsic(Function* F) {
   }
 }
 
-/// This function checks debug info intrinsics. If an intrinsic is invalid
-/// then this function simply removes the intrinsic. 
+/// This function strips all debug info intrinsics, except for llvm.dbg.declare.
+/// If an llvm.dbg.declare intrinsic is invalid, then this function simply
+/// strips that use.
 void llvm::CheckDebugInfoIntrinsics(Module *M) {