Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libc] Provide sys/queue.h #78081

Merged
merged 6 commits into from
Jan 19, 2024
Merged

[libc] Provide sys/queue.h #78081

merged 6 commits into from
Jan 19, 2024

Commits on Jan 14, 2024

  1. [libc] Provide sys/queue.h

    This header first appeared in 4.4BSD and is provided by a number of C
    libraries including Newlib. Several of our embedded projects use this
    header and so to make LLVM libc a drop-in replacement, we need to
    provide it as well.
    
    For the initial commit, we only implement singly linked variants (SLIST
    and STAILQ). The doubly linked variants (LIST, TAILQ and CIRCLEQ) can be
    implemented in the future as needed.
    petrhosek committed Jan 14, 2024
    Configuration menu
    Copy the full SHA
    7c725a9 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. Implement the remaining SLIST and STAILQ macros

    This matches the BSD and newlib implementations.
    petrhosek committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    fe8a1d1 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2024

  1. Address review feedback

    petrhosek committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    9a13c0a View commit details
    Browse the repository at this point in the history
  2. Fix tests

    petrhosek committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    5b89ca8 View commit details
    Browse the repository at this point in the history
  3. Address review feedback

    petrhosek committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    668192b View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2024

  1. Address review feedback

    petrhosek committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    6230748 View commit details
    Browse the repository at this point in the history