[libcxx-commits] [libcxx] [libc++] Add std::stacktrace (P0881R7) (PR #136528)

Steve O'Brien via libcxx-commits libcxx-commits at lists.llvm.org
Sat Nov 15 16:34:23 PST 2025


================
@@ -248,6 +254,11 @@ if (LIBCXX_ENABLE_SHARED)
   list(APPEND LIBCXX_BUILD_TARGETS "cxx_shared")
 endif()
 
+if(WIN32)
+  string(APPEND link_libraries " ${CMAKE_LINK_LIBRARY_FLAG}dbghelp")
+  string(APPEND link_libraries " ${CMAKE_LINK_LIBRARY_FLAG}psapi")
+endif()
+
----------------
elsteveogrande wrote:

https://github.com/llvm/llvm-project/actions/runs/19397040621/job/55499528819?pr=136528

https://github.com/llvm/llvm-project/pull/136528


More information about the libcxx-commits mailing list