Appease hosts without HAVE_BACKTRACE nor ENABLE_BACKTRACES.
[oota-llvm.git] / lib / Support / Unix / Signals.inc
index fb1b400ba2f51e94174e61d4b1aedb7bfd6d9a52..d6d30bf0cb30453f87f08a002ecb8ae3143bc134 100644 (file)
@@ -306,6 +306,13 @@ static bool findModulesAndOffsets(void **StackTrace, int Depth,
   return false;
 }
 #endif
+#else
+static bool findModulesAndOffsets(void **StackTrace, int Depth,
+                                  const char **Modules, intptr_t *Offsets,
+                                  const char *MainExecutableName,
+                                  StringSaver &StrPool) {
+  return false;
+}
 #endif // defined(HAVE_BACKTRACE) && defined(ENABLE_BACKTRACES)
 
 // PrintStackTrace - In the case of a program crash or fault, print out a stack