From: Yichao Yu Date: Fri, 17 Jul 2020 04:26:39 +0000 (-0400) Subject: [PATCH] Fix C++ code compilation on ARM with LLVM10 (#36674) X-Git-Tag: archive/raspbian/1.5.3+dfsg-2+rpi1~1^2~18 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=500c7077b70d3f10ae4c7e6323666226fa43e04d;p=julia.git [PATCH] Fix C++ code compilation on ARM with LLVM10 (#36674) Gbp-Pq: Name upstream-971e7694-fix-arm-llvm.patch --- diff --git a/src/debuginfo.cpp b/src/debuginfo.cpp index 0c53092..3e01f10 100644 --- a/src/debuginfo.cpp +++ b/src/debuginfo.cpp @@ -275,14 +275,17 @@ public: auto sName = section.getName(); if (!sName) continue; + if (sName.get() != ".ARM.exidx") { + continue; + } #else StringRef sName; if (section.getName(sName)) continue; -#endif if (sName != ".ARM.exidx") { continue; } +#endif } uint64_t loadaddr = L.getSectionLoadAddress(section); size_t seclen = section.getSize();