[libunwind] 3eef589 - Add a catch-all else case so any unanticipated configs pass this test.

Sterling Augustine via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 12 11:55:36 PDT 2020


Author: Sterling Augustine
Date: 2020-03-12T11:55:10-07:00
New Revision: 3eef58991b26feb37aaae92d5b568b27fab84584

URL: https://github.com/llvm/llvm-project/commit/3eef58991b26feb37aaae92d5b568b27fab84584
DIFF: https://github.com/llvm/llvm-project/commit/3eef58991b26feb37aaae92d5b568b27fab84584.diff

LOG: Add a catch-all else case so any unanticipated configs pass this test.

Added: 
    

Modified: 
    libunwind/test/frameheadercache_test.pass.cpp

Removed: 
    


################################################################################
diff  --git a/libunwind/test/frameheadercache_test.pass.cpp b/libunwind/test/frameheadercache_test.pass.cpp
index ac75f7d0cb29..df0f926985d7 100644
--- a/libunwind/test/frameheadercache_test.pass.cpp
+++ b/libunwind/test/frameheadercache_test.pass.cpp
@@ -79,4 +79,6 @@ int main() {
     abort();
   return 0;
 }
+#else
+int main() { return 0; }
 #endif


        


More information about the cfe-commits mailing list