search for: noexcept

Displaying 20 results from an estimated 116 matches for "noexcept".

2018 Aug 10
2
[cfe-dev] Filesystem has Landed in Libc++
...;; static constexpr bool is_steady = false; static time_point now(); template<typename Duration> static std::chrono::time_point<std::chrono::system_clock, Duration> to_sys(const std::chrono::time_point<file_clock, Duration>& t) noexcept; template<typename Duration> static std::chrono::time_point<file_clock, Duration> from_sys(const std::chrono::time_point<std::chrono::system_clock, Duration>& t) noexcept; template<typename Duration> static std::c...
2017 Feb 09
2
help me understand how nounwind attribute on functions works?
...ly unwind through the code. The only ways to prevent exceptions from being propagated are to explicitly catch them, or to use something like a C++ exception specifier so that the personality function will explicitly block exception propagation. In this example, given that doThing is not marked as noexcept, we will emit unwind tables that explicitly allow unwinding through f; however, when the unwinder tries to unwind into the next stack frame it will find that there is no unwind record. Depending on how lazy we are in defining the PC ranges in the unwind table, this will either cause stack corrupti...
2014 May 11
2
[LLVMdev] [cfe-dev] Code generation for noexcept functions
On Sun, May 11, 2014 at 8:19 AM, Stephan Tolksdorf <st at quanttec.com> wrote: > Hi, > > When clang/LLVM can't prove that a noexcept function only contains > non-throwing code, it seems to insert an explicit exception handler that > calls std::terminate. Why doesn't clang leave it to the eh personality > function to call std::terminate when an exception is thrown inside a > noexcept function, as GCC does? > A...
2011 Dec 16
3
[LLVMdev] llvm/clang test failures on powerpc-darwin8
Hi, Thanks for the quick reply again. > On Thu, Dec 15, 2011 at 1:17 PM, David Fang <fang at csl.cornell.edu> wrote: >> Hi, >> >> I've bootstrapped llvm/clang from svn-trunk on powerpc-darwin8 (g++-4.0.1), and >> have the following test results to share. >> Summary below, full log at: >>
2014 Mar 04
3
[LLVMdev] [cfe-dev] C++11 reverse iterators (was C++11 is here)
On Mon, Mar 3, 2014 at 12:26 AM, Chris Lattner <sabre at nondot.org> wrote: > > On Mar 2, 2014, at 8:53 PM, Renato Golin <renato.golin at linaro.org> wrote: > > > On 3 March 2014 12:32, Pete Cooper <peter_cooper at apple.com> wrote: > >> Would those work with a foreach construct? Perhaps I forgot to mention > that was what I'm trying to work out
2013 Sep 05
0
[LLVMdev] [ast-dump] Class template partial specializations missing from an implicit class template instantiation?
...XRecordDecl 0x39174b0 prev 0x3917130 <col:25, col:32> struct Inner | | |-CXXMethodDecl 0x3917540 <col:43, col:51> f 'int (void)' | | | `-CompoundStmt 0x390f680 <col:50, col:51> | | |-CXXConstructorDecl 0x3917610 <col:32> Inner 'void (void)' inline noexcept-unevaluated 0x3917610 | | | `-CompoundStmt 0x3918370 <col:32> | | |-CXXConstructorDecl 0x3917770 <col:32> Inner 'void (const struct Outer<float>::Inner<int *> &)' inline noexcept-unevaluated 0x3917770 | | | `-ParmVarDecl 0x39178b0 <col:32> '...
2019 Aug 01
5
RFC: Strong typedef for LLVM
...T; private: BaseType Value; public: constexpr StrongTypedef() : Value() {} constexpr StrongTypedef(const StrongTypedef<Tag, T> &) = default; explicit constexpr StrongTypedef(const BaseType &V) : Value(V) {} explicit StrongTypedef(BaseType &&V) noexcept(std::is_nothrow_move_constructible<BaseType>::value) : Value(std::move(V)) {} public: explicit operator BaseType&() noexcept { return Value; } explicit operator const BaseType&() const noexcept { return Value; } friend void swap(StrongTyped...
2019 Oct 18
2
Zorg migration to GitHub/monorepo
...* clang-x64-ninja-win7 * clang-solaris11-sparcv9 * clang-cmake-armv7-full * clang-cmake-thumbv7-full-sh * clang-cmake-armv8-lld * clang-cmake-aarch64-full * clang-armv7-linux-build-cache * clang-aarch64-linux-build-cache * libcxx-libcxxabi-x86_64-linux-debian * libcxx-libcxxabi-x86_64-linux-debian-noexceptions * libcxx-libcxxabi-libunwind-x86_64-linux-debian * libcxx-libcxxabi-singlethreaded-x86_64-linux-debian * libcxx-libcxxabi-x86_64-linux-ubuntu-cxx03 * libcxx-libcxxabi-x86_64-linux-ubuntu-cxx11 * libcxx-libcxxabi-x86_64-linux-ubuntu-cxx14 * libcxx-libcxxabi-x86_64-linux-ubuntu-cxx17 * libcxx-lib...
2020 Apr 23
3
Cannot build master
...IC > -fvisibility-inlines-hidden -Werror=date-time > -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter > -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic > -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default > -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor > -Wstring-conversion -fdiagnostics-color -ffunction-sections > -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types > -O3 -DNDEBUGĀ  -Wl,-allow-shlib-undefined > -Wl,-rpath-link,/home/laguest/src/mine-n...
2019 Oct 28
2
Zorg migration to GitHub/monorepo
...* llvm-clang-x86_64-win-fast <<-- ? > * llvm-sphinx-docs > * clang-x86_64-debian-fast > * libcxx-libcxxabi-libunwind-x86_64-linux-debian > * libcxx-libcxxabi-singlethreaded-x86_64-linux-debian > * libcxx-libcxxabi-x86_64-linux-debian > * libcxx-libcxxabi-x86_64-linux-debian-noexceptions > > A friendly reminder. If your bots are using one of these build factories, you would need either update your build configurations to use one of the currently supported build factories, or port that factory to work with github and monorepo. > > * LLVMBuilder (3 bots) > * PollyB...
2020 Apr 23
7
Cannot build master
...&& /usr/lib/llvm/10/bin/clang++ -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -Wl,-allow-shlib-undefined -Wl,-rpath-link,/home/laguest/src/mine-new/llvm/llvm-project/build/./lib -W...
2018 Mar 17
0
Buildbot numbers for the week of 3/04/2018 - 3/10/2018
...buildername | was_red ---------------------------------------------------------+--------- libcxx-libcxxabi-libunwind-aarch64-linux | 50:00:17 libcxx-libcxxabi-libunwind-armv8-linux | 47:23:17 libcxx-libcxxabi-libunwind-aarch64-linux-noexceptions | 40:53:18 libcxx-libcxxabi-libunwind-armv8-linux-noexceptions | 40:53:18 clang-x86-windows-msvc2015 | 35:17:24 clang-cmake-armv8-full | 28:20:50 reverse-iteration | 28:18:29 clang-bpf...
2018 Mar 17
0
Buildbot numbers for the week of 2/25/2018 - 3/03/2018
...---------------------------------------------+--------- clang-x86-windows-msvc2015 | 85:23:18 clang-x64-ninja-win7 | 81:13:04 libcxx-libcxxabi-libunwind-aarch64-linux | 50:42:01 libcxx-libcxxabi-libunwind-armv8-linux-noexceptions | 50:41:57 lldb-x86_64-ubuntu-14.04-android | 46:42:43 clang-s390x-linux-lnt | 41:07:18 clang-s390x-linux-multistage | 39:44:42 clang-s390x-linux | 39:29:54 lldb-am...
2018 May 08
0
Buildbot numbers for the week of 4/29/2018 - 5/5/2018
...The longest time each builder was red during the week: buildername | was_red ---------------------------------------------------------+--------- libcxx-libcxxabi-libunwind-armv8-linux | 87:08:24 libcxx-libcxxabi-libunwind-armv8-linux-noexceptions | 87:08:06 libcxx-libcxxabi-x86_64-linux-ubuntu-cxx17 | 85:42:47 libcxx-libcxxabi-libunwind-x86_64-linux-ubuntu | 85:42:17 libcxx-libcxxabi-x86_64-linux-ubuntu-cxx2a | 85:42:14 libcxx-libcxxabi-x86_64-linux-ubuntu-32bit | 85:41:45 libcxx-...
2020 Aug 13
3
Exceptions and performance
...speaking, the less the compiler can prove about a program, the less aggressive it can be with optimizations. If it doesn't know what the control flow will exactly look like, it can't do certain transformations. Exceptions add a conditional goto from every single function call (without good noexcept hygiene, which practically no program has), to the exception handler or cleanup landing pad (whether the exception handler is written in the code explicitly or not, something has to run the destructors of objects that are going out of scope.) Worse, inlining doesn't really save you, because any...
2018 Feb 28
0
Buildbot numbers for the week of 2/04/2018 - 2/10/2018
...lang-x86_64-debian-fast | 02:33:02 sanitizer-x86_64-linux-bootstrap-ubsan | 02:18:02 clang-ppc64le-linux-lnt | 02:14:19 clang-ppc64be-linux-multistage | 02:10:09 libcxx-libcxxabi-x86_64-linux-debian-noexceptions | 02:09:45 libcxx-libcxxabi-singlethreaded-x86_64-linux-debian | 02:09:28 sanitizer-x86_64-linux-fuzzer | 02:06:06 reverse-iteration | 02:05:03 sanitizer-windows | 02:04:59 libcxx-libcxxab...
2018 Jul 27
5
Filesystem has Landed in Libc++
Hi All, I recently committed <filesystem> to trunk. I wanted to bring attention to some quirks it currently has. First, it's been put in a separate library, libc++fs, for now. Users are responsible for linking the library when they use filesystem. Second, it should still not be considered ABI stable. Vendors should be aware of this before shipping it. Hopefully all the standard and
2018 May 30
0
Buildbot numbers for the week of 5/6/2018 - 5/12/2018
...| 295 | 0 | 0.0 clang-x86_64-linux-selfhost-modules-2 | 302 | 0 | 0.0 libcxx-libcxxabi-libunwind-aarch64-linux | 9 | 0 | 0.0 libcxx-libcxxabi-libunwind-aarch64-linux-noexceptions | 9 | 0 | 0.0 libcxx-libcxxabi-libunwind-armv7-linux | 8 | 0 | 0.0 libcxx-libcxxabi-libunwind-armv7-linux-noexceptions | 8 | 0 | 0.0 libcxx-libcxxabi-libunwind-armv8-linux...
2019 Oct 29
2
Zorg migration to GitHub/monorepo
...llvm-sphinx-docs > > > * clang-x86_64-debian-fast > > > * libcxx-libcxxabi-libunwind-x86_64-linux-debian > > > * libcxx-libcxxabi-singlethreaded-x86_64-linux-debian > > > * libcxx-libcxxabi-x86_64-linux-debian > > > * libcxx-libcxxabi-x86_64-linux-debian-noexceptions > > > > > > A friendly reminder. If your bots are using one of these build > factories, you would need either update your build configurations to use > one of the currently supported build factories, or port that factory to > work with github and monorepo. > > &...
2018 May 30
0
Buildbot numbers for the week of 5/20/2018 - 5/26/2018
...| 2 | 0 | 0.0 perf-x86_64-penryn-O3-polly-parallel-fast | 229 | 0 | 0.0 perf-x86_64-penryn-O3-polly-unprofitable | 262 | 0 | 0.0 libcxx-libcxxabi-libunwind-aarch64-linux-noexceptions | 16 | 0 | 0.0 libcxx-libcxxabi-libunwind-aarch64-linux | 16 | 0 | 0.0 clang-x86_64-linux-selfhost-modules-2 | 292 | 0 | 0.0 clang-x86_64-linux-selfhost-modules...