commit | 7ed0da54eb1c0e1044a72df8e57f77458e95aab1 | [log] [tgz] |
---|---|---|
author | Hans Wennborg <hwennborg@google.com> | Mon Mar 20 10:03:29 2023 +0100 |
committer | swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com <swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Mar 20 13:51:52 2023 +0000 |
tree | 73e2132ed20916dd8a8a0bae948b5b0b8b9027d0 | |
parent | c41cb8cb9f48a5c6e0bca7fbfa20e3dbe8388268 [diff] |
Add missing #include <exception> for std::terminate It was previously included transitively through some other header, but with recent libc++ versions that's no longer the case. Bug: chromium:1425830 Change-Id: I91aa90e7b4b2d4b02b780b0efef5339d88fbc987 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/71168 Reviewed-by: Shahbaz Youssefi <syoussefi@google.com> Tested-by: Shahbaz Youssefi <syoussefi@google.com> Kokoro-Result: kokoro <noreply+kokoro@google.com> Commit-Queue: Shahbaz Youssefi <syoussefi@google.com>
diff --git a/third_party/llvm-10.0/llvm/include/llvm/Demangle/ItaniumDemangle.h b/third_party/llvm-10.0/llvm/include/llvm/Demangle/ItaniumDemangle.h index 376e0ef..14f8102 100644 --- a/third_party/llvm-10.0/llvm/include/llvm/Demangle/ItaniumDemangle.h +++ b/third_party/llvm-10.0/llvm/include/llvm/Demangle/ItaniumDemangle.h
@@ -26,6 +26,7 @@ #include <cstdio> #include <cstdlib> #include <cstring> +#include <exception> #include <numeric> #include <utility>
diff --git a/third_party/llvm-10.0/llvm/include/llvm/Demangle/Utility.h b/third_party/llvm-10.0/llvm/include/llvm/Demangle/Utility.h index 04e1936..972fc24 100644 --- a/third_party/llvm-10.0/llvm/include/llvm/Demangle/Utility.h +++ b/third_party/llvm-10.0/llvm/include/llvm/Demangle/Utility.h
@@ -17,6 +17,7 @@ #include <cstdint> #include <cstdlib> #include <cstring> +#include <exception> #include <iterator> #include <limits>
diff --git a/third_party/llvm-10.0/llvm/lib/Demangle/MicrosoftDemangle.cpp b/third_party/llvm-10.0/llvm/lib/Demangle/MicrosoftDemangle.cpp index c681d6e..7ef7e65 100644 --- a/third_party/llvm-10.0/llvm/lib/Demangle/MicrosoftDemangle.cpp +++ b/third_party/llvm-10.0/llvm/lib/Demangle/MicrosoftDemangle.cpp
@@ -24,6 +24,7 @@ #include <array> #include <cctype> #include <cstdio> +#include <exception> #include <tuple> using namespace llvm;