1// -*- C++ -*- 2//===----------------------------------------------------------------------===// 3// 4// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 5// See https://llvm.org/LICENSE.txt for license information. 6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7// 8//===----------------------------------------------------------------------===// 9 10module; 11#if __has_include(<stacktrace>) 12# error "include this header unconditionally and uncomment the exported symbols" 13# include <stacktrace> 14#endif 15 16export module std:stacktrace; 17export namespace std { 18#if 0 19 // [stacktrace.entry], class stacktrace_entry 20 using std::stacktrace_entry; 21 22 // [stacktrace.basic], class template basic_stacktrace 23 using std::basic_stacktrace; 24 25 // basic_stacktrace typedef-names 26 using std::stacktrace; 27 28 // [stacktrace.basic.nonmem], non-member functions 29 using std::swap; 30 31 using std::to_string; 32 33 using std::operator<<; 34 35 namespace pmr { 36 using std::pmr::stacktrace; 37 } 38 39 // [stacktrace.basic.hash], hash support 40 using std::hash; 41#endif 42} // namespace std 43