[all-commits] [llvm/llvm-project] 65825c: [libc] Use `<assert.h>` in overlay mode for LIBC_A...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Jul 22 08:13:05 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 65825cd5431c64b3b2c0537e4ff01517d0b32061
      https://github.com/llvm/llvm-project/commit/65825cd5431c64b3b2c0537e4ff01517d0b32061
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-22 (Mon, 22 Jul 2024)

  Changed paths:
    M libc/src/__support/libc_assert.h
    M libc/src/__support/threads/linux/raw_mutex.h

  Log Message:
  -----------
  [libc] Use `<assert.h>` in overlay mode for LIBC_ASSERT (#99875)

Summary:
This uses `internal::exit` which is not built in overlay mode, leading
to linker errors. Fix this to just use `assert.h`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list