summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorVictor Hernandez <vhernandez@apple.com>2010-01-05 21:13:46 +0000
committerVictor Hernandez <vhernandez@apple.com>2010-01-05 21:13:46 +0000
commitc2044a1193f2ffb8587fda869a3d9f846944dd42 (patch)
tree15530fa00dc4248b0f099092f8dbd8bc3b137e42 /llvm/lib
parentb82a840eb2b0ef62897acc8d18e0c0b2fb076c38 (diff)
downloadbcm5719-llvm-c2044a1193f2ffb8587fda869a3d9f846944dd42.tar.gz
bcm5719-llvm-c2044a1193f2ffb8587fda869a3d9f846944dd42.zip
Fix comment for CheckDebugInfoIntrinsics
llvm-svn: 92774
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/VMCore/AutoUpgrade.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/AutoUpgrade.cpp b/llvm/lib/VMCore/AutoUpgrade.cpp
index 0676caa2c64..216184188ad 100644
--- a/llvm/lib/VMCore/AutoUpgrade.cpp
+++ b/llvm/lib/VMCore/AutoUpgrade.cpp
@@ -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) {
OpenPOWER on IntegriCloud