summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/AutoUpgrade.cpp
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-12-03 00:12:14 +0000
committerManman Ren <manman.ren@gmail.com>2013-12-03 00:12:14 +0000
commitbd4daf826f5932e7b8517d2243a171f8a5b32197 (patch)
tree6f27dba6ab2dd074c78e55a9fe13e8c6fc0cc76a /llvm/lib/IR/AutoUpgrade.cpp
parent563cc05cae751126d470426d53d4be6e9a9b71c9 (diff)
downloadbcm5719-llvm-bd4daf826f5932e7b8517d2243a171f8a5b32197.tar.gz
bcm5719-llvm-bd4daf826f5932e7b8517d2243a171f8a5b32197.zip
Debug Info: rename getDebugInfoVersionFromModule to getDebugMetadataVersionFromModule.
Suggested by Eric. llvm-svn: 196172
Diffstat (limited to 'llvm/lib/IR/AutoUpgrade.cpp')
-rw-r--r--llvm/lib/IR/AutoUpgrade.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/AutoUpgrade.cpp b/llvm/lib/IR/AutoUpgrade.cpp
index 32cfe278c73..d12bf7b9e3c 100644
--- a/llvm/lib/IR/AutoUpgrade.cpp
+++ b/llvm/lib/IR/AutoUpgrade.cpp
@@ -494,7 +494,7 @@ Value *llvm::UpgradeBitCastExpr(unsigned Opc, Constant *C, Type *DestTy) {
/// Check the debug info version number, if it is out-dated, drop the debug
/// info. Return true if module is modified.
bool llvm::UpgradeDebugInfo(Module &M) {
- if (getDebugInfoVersionFromModule(M) == DEBUG_METADATA_VERSION)
+ if (getDebugMetadataVersionFromModule(M) == DEBUG_METADATA_VERSION)
return false;
return StripDebugInfo(M);
OpenPOWER on IntegriCloud