Disable the Thumb no-return call optimization:
[oota-llvm.git] / lib / Archive / ArchiveInternals.h
index 55684f7023d277a12d87885fbfa6ad607963ad32..639f5ac2691bc674d3274e3db6f85fc3316d46f7 100644 (file)
@@ -66,7 +66,7 @@ namespace llvm {
       fmag[1] = '\n';
     }
 
-    bool checkSignature() {
+    bool checkSignature() const {
       return 0 == memcmp(fmag, ARFILE_MEMBER_MAGIC,2);
     }
   };