diff options
-rw-r--r-- | tensorflow/core/platform/default/logging.h | 2 | ||||
-rw-r--r-- | tensorflow/core/platform/default/stacktrace.h | 4 | ||||
-rw-r--r-- | third_party/llvm/llvm.BUILD | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/tensorflow/core/platform/default/logging.h b/tensorflow/core/platform/default/logging.h index eaae673464..961fb8b4ad 100644 --- a/tensorflow/core/platform/default/logging.h +++ b/tensorflow/core/platform/default/logging.h @@ -67,6 +67,8 @@ class LogMessageFatal : public LogMessage { #define _TF_LOG_FATAL \ ::tensorflow::internal::LogMessageFatal(__FILE__, __LINE__) +#define _TF_LOG_QFATAL _TF_LOG_FATAL + #define LOG(severity) _TF_LOG_##severity // TODO(jeff): Define a proper implementation of VLOG_IS_ON diff --git a/tensorflow/core/platform/default/stacktrace.h b/tensorflow/core/platform/default/stacktrace.h index 8dc27b5d63..5f3073262a 100644 --- a/tensorflow/core/platform/default/stacktrace.h +++ b/tensorflow/core/platform/default/stacktrace.h @@ -22,12 +22,14 @@ namespace tensorflow { inline string CurrentStackTrace() { return "No stack trace available"; } +inline void DebugWriteToString(const char* data, void* arg) {} + // A dummy class that does nothing. Someday, add real support. class SavedStackTrace { public: SavedStackTrace() {} - void CreateCurrent() {} + void CreateCurrent(int skip_count) {} void Reset() {} diff --git a/third_party/llvm/llvm.BUILD b/third_party/llvm/llvm.BUILD index 4e7679d612..7f651a1446 100644 --- a/third_party/llvm/llvm.BUILD +++ b/third_party/llvm/llvm.BUILD @@ -15,6 +15,8 @@ load( "cmake_var_string", ) +package(default_visibility = ["@//tensorflow/compiler/xla:internal"]) + llvm_host_triple = "x86_64-unknown-linux_gnu" llvm_targets = [ |