[all-commits] [llvm/llvm-project] 39d38d: [libc] at_quick_exit function implemented (#94317)

aaryanshukla via All-commits all-commits at lists.llvm.org
Thu Jun 6 10:22:06 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 39d38d66ec1cde07cfb959d1cf94b0adc6eb16ef
      https://github.com/llvm/llvm-project/commit/39d38d66ec1cde07cfb959d1cf94b0adc6eb16ef
  Author: aaryanshukla <53713108+aaryanshukla at users.noreply.github.com>
  Date:   2024-06-06 (Thu, 06 Jun 2024)

  Changed paths:
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/hdr/types/CMakeLists.txt
    A libc/hdr/types/atexithandler_t.h
    M libc/spec/stdc.td
    M libc/src/stdlib/CMakeLists.txt
    A libc/src/stdlib/at_quick_exit.cpp
    A libc/src/stdlib/at_quick_exit.h
    M libc/src/stdlib/atexit.cpp
    M libc/src/stdlib/atexit.h
    A libc/src/stdlib/exit_handler.cpp
    A libc/src/stdlib/exit_handler.h
    M libc/src/stdlib/quick_exit.cpp
    M libc/test/src/stdlib/CMakeLists.txt
    A libc/test/src/stdlib/at_quick_exit_test.cpp

  Log Message:
  -----------
  [libc] at_quick_exit function implemented (#94317)

- added at_quick_exit function 
- used helper file exit_handler which reuses code from atexit
- atexit now calls helper functions from exit_handler
- test cases and dependencies are added

---------

Co-authored-by: Aaryan Shukla <aaryanshukla at google.com>



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