summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/DebugInfo.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/DebugInfo.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/DebugInfo.cpp')
-rw-r--r--llvm/lib/IR/DebugInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp
index 68015b759a7..75a70965a3a 100644
--- a/llvm/lib/IR/DebugInfo.cpp
+++ b/llvm/lib/IR/DebugInfo.cpp
@@ -1478,8 +1478,8 @@ bool llvm::StripDebugInfo(Module &M) {
return Changed;
}
-/// Return Debug Info Version by checking module flags.
-unsigned llvm::getDebugInfoVersionFromModule(const Module &M) {
+/// Return Debug Info Metadata Version by checking module flags.
+unsigned llvm::getDebugMetadataVersionFromModule(const Module &M) {
Value *Val = M.getModuleFlag("Debug Info Version");
if (!Val)
return 0;
OpenPOWER on IntegriCloud