Author: Sterling Augustine Date: 2020-03-12T18:14:22-07:00 New Revision: 3758b858ef3b39b3081bf9a567ead8bc69c9a208
URL: https://github.com/llvm/llvm-project/commit/3758b858ef3b39b3081bf9a567ead8bc69c9a208 DIFF: https://github.com/llvm/llvm-project/commit/3758b858ef3b39b3081bf9a567ead8bc69c9a208.diff LOG: Only run frameheader_cache_test.pass.cpp on x86_64. Although there is nothing architecturally specific, the ifdef chains are too complicated otherwise. 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 df0f926985d7..9397e70d66cb 100644 --- a/libunwind/test/frameheadercache_test.pass.cpp +++ b/libunwind/test/frameheadercache_test.pass.cpp @@ -3,6 +3,11 @@ #include "../src/config.h" // Only run this test under supported configurations. +// The frame header cache should work fine for other architectures, +// but the #ifdefs end up being even more complicated than this. + +#ifdef __x86_64__ + // This #if chain is ugly, but see the comments in AddressSpace.hpp for // the reasoning. @@ -82,3 +87,6 @@ int main() { #else int main() { return 0; } #endif +#else +int main() { return 0;} +#endif _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits