projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8f77ba
)
Forgot the version number.
author
Jim Laskey
<jlaskey@mac.com>
Fri, 27 Jan 2006 15:46:54 +0000
(15:46 +0000)
committer
Jim Laskey
<jlaskey@mac.com>
Fri, 27 Jan 2006 15:46:54 +0000
(15:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25685
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/MachineDebugInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MachineDebugInfo.cpp
b/lib/CodeGen/MachineDebugInfo.cpp
index 9c6c35ecdcdf7fcddbbaf2877381b4f8923a2fb1..07faba1dfbfcfa049b4eef7003db58d708417a37 100644
(file)
--- a/
lib/CodeGen/MachineDebugInfo.cpp
+++ b/
lib/CodeGen/MachineDebugInfo.cpp
@@
-139,7
+139,7
@@
unsigned CompileUnitWrapper::getTag() const {
/// Currently the value is 0 (zero.) If the value is is not correct then
/// ignore all debug information.
bool CompileUnitWrapper::isCorrectDebugVersion() const {
- return cast<ConstantUInt>(IC->getOperand(Version_op))->getValue();
+ return cast<ConstantUInt>(IC->getOperand(Version_op))->getValue()
== 0
;
}
/// getLanguage - Return the compile unit's language number (ex. DW_LANG_C89.)