diff options
author | Eric Christopher <echristo@gmail.com> | 2013-08-06 01:38:27 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-08-06 01:38:27 +0000 |
commit | f7d848d0b913d1310135feb348ab58eedb01c1b0 (patch) | |
tree | a2c8663d5a2bee96b5aea87cd3126d040826734f /llvm/lib | |
parent | 39a1e507ff0bef4bd6b2fdbab4e38583d2679617 (diff) | |
download | bcm5719-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.h | 2 |
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). |