/*
- * Copyright 2016 Facebook, Inc.
+ * Copyright 2017 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
//
// Exception tracer library.
-#ifndef FOLLY_EXPERIMENTAL_EXCEPTION_TRACER_EXCEPTIONTRACER_H_
-#define FOLLY_EXPERIMENTAL_EXCEPTION_TRACER_EXCEPTIONTRACER_H_
+#pragma once
#include <cstdint>
#include <iosfwd>
std::vector<uintptr_t> frames; // front() is top of stack
};
+void printExceptionInfo(
+ std::ostream& out,
+ const ExceptionInfo& info,
+ int options);
std::ostream& operator<<(std::ostream& out, const ExceptionInfo& info);
/**
} // namespace exception_tracer
} // namespace folly
-
-#endif /* FOLLY_EXPERIMENTAL_EXCEPTION_TRACER_EXCEPTIONTRACER_H_ */