[all-commits] [llvm/llvm-project] 07d08f: [libc++] Don't add reference to system_category wh...

Daniel Thornburgh via All-commits all-commits at lists.llvm.org
Wed Sep 27 06:09:57 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 07d08f4eb44e09e888c0773d87872570048e02ac
      https://github.com/llvm/llvm-project/commit/07d08f4eb44e09e888c0773d87872570048e02ac
  Author: Daniel Thornburgh <dthorn at google.com>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M libcxx/src/system_error.cpp

  Log Message:
  -----------
  [libc++] Don't add reference to system_category when exceptions disabled (#67504)

This fixes a size regression in Fuchsia when building a static libc++
multilib with exceptions disabled. Referring to `system_category` in
`__throw_system_error` brings in a relatively large amount of additional
exception classes into the link without substantially improving the
error message.




More information about the All-commits mailing list