summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-08-06 01:38:27 +0000
committerEric Christopher <echristo@gmail.com>2013-08-06 01:38:27 +0000
commitf7d848d0b913d1310135feb348ab58eedb01c1b0 (patch)
treea2c8663d5a2bee96b5aea87cd3126d040826734f /llvm/lib
parent39a1e507ff0bef4bd6b2fdbab4e38583d2679617 (diff)
downloadbcm5719-llvm-f7d848d0b913d1310135feb348ab58eedb01c1b0.tar.gz
bcm5719-llvm-f7d848d0b913d1310135feb348ab58eedb01c1b0.zip
Allow 4 as a valid debug info version.
llvm-svn: 187763
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/DebugInfo/DWARFContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/DWARFContext.h b/llvm/lib/DebugInfo/DWARFContext.h
index af9965fd1d3..058476e34d3 100644
--- a/llvm/lib/DebugInfo/DWARFContext.h
+++ b/llvm/lib/DebugInfo/DWARFContext.h
@@ -130,7 +130,7 @@ public:
virtual const RelocAddrMap &infoDWORelocMap() const = 0;
static bool isSupportedVersion(unsigned version) {
- return version == 2 || version == 3;
+ return version == 2 || version == 3 || version == 4;
}
private:
/// Return the compile unit that includes an offset (relative to .debug_info).
OpenPOWER on IntegriCloud