Skip to content

RuntimeLibcalls: Add malloc and free entries#167081

Merged
arsenm merged 1 commit intomainfrom
users/arsenm/runtime-libcalls/add-malloc-calloc-free
Nov 26, 2025
Merged

RuntimeLibcalls: Add malloc and free entries#167081
arsenm merged 1 commit intomainfrom
users/arsenm/runtime-libcalls/add-malloc-calloc-free

Conversation

@arsenm
Copy link
Contributor

@arsenm arsenm commented Nov 8, 2025

Calloc was already here, but not the others. Also add
manual type information.

Copy link
Contributor Author

arsenm commented Nov 8, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@arsenm arsenm marked this pull request as ready for review November 8, 2025 03:29
@arsenm arsenm force-pushed the users/arsenm/runtime-libcalls/add-malloc-calloc-free branch from 7b97131 to 74c1b3e Compare November 10, 2025 18:18
@arsenm arsenm force-pushed the users/arsenm/runtime-libcalls/add-mustprogress-common-fn-attrs branch from 47b2103 to 238ad7d Compare November 10, 2025 18:18
@arsenm arsenm force-pushed the users/arsenm/runtime-libcalls/add-malloc-calloc-free branch from 74c1b3e to cc2d041 Compare November 10, 2025 19:22
@arsenm arsenm force-pushed the users/arsenm/runtime-libcalls/add-mustprogress-common-fn-attrs branch from 238ad7d to ad1d7cb Compare November 10, 2025 19:22
}

/// TODO: There is really no guarantee that sizeof(size_t) is equal to the index
/// size of the edfault address space. This matches TargetLibraryInfo and should
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

default

@arsenm arsenm force-pushed the users/arsenm/runtime-libcalls/add-mustprogress-common-fn-attrs branch from ad1d7cb to b7cc28e Compare November 12, 2025 00:57
@arsenm arsenm force-pushed the users/arsenm/runtime-libcalls/add-malloc-calloc-free branch from cc2d041 to 82ed371 Compare November 12, 2025 00:57
@arsenm arsenm force-pushed the users/arsenm/runtime-libcalls/add-mustprogress-common-fn-attrs branch from b7cc28e to ddc5a54 Compare November 12, 2025 02:11
@arsenm arsenm force-pushed the users/arsenm/runtime-libcalls/add-malloc-calloc-free branch 2 times, most recently from dc830b3 to f4beefa Compare November 12, 2025 03:24
@arsenm arsenm force-pushed the users/arsenm/runtime-libcalls/add-mustprogress-common-fn-attrs branch from ddc5a54 to 22df2fb Compare November 12, 2025 03:24
@arsenm arsenm force-pushed the users/arsenm/runtime-libcalls/add-mustprogress-common-fn-attrs branch from 22df2fb to a921be6 Compare November 25, 2025 13:43
@arsenm arsenm force-pushed the users/arsenm/runtime-libcalls/add-malloc-calloc-free branch from f4beefa to 6147c59 Compare November 25, 2025 13:43
Base automatically changed from users/arsenm/runtime-libcalls/add-mustprogress-common-fn-attrs to main November 25, 2025 14:48
Copy link
Collaborator

@RKSimon RKSimon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix merge conflicts

Calloc was already here, but not the others. Also add
manual type information.
@arsenm arsenm force-pushed the users/arsenm/runtime-libcalls/add-malloc-calloc-free branch from 6147c59 to 89e79ea Compare November 25, 2025 16:18
@arsenm arsenm requested a review from RKSimon November 25, 2025 23:23
Copy link
Collaborator

@RKSimon RKSimon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@arsenm arsenm merged commit 43e69b1 into main Nov 26, 2025
10 checks passed
@arsenm arsenm deleted the users/arsenm/runtime-libcalls/add-malloc-calloc-free branch November 26, 2025 15:19
tanji-dg pushed a commit to tanji-dg/llvm-project that referenced this pull request Nov 27, 2025
Calloc was already here, but not the others. Also add
manual type information.
GeneraluseAI pushed a commit to GeneraluseAI/llvm-project that referenced this pull request Nov 27, 2025
Calloc was already here, but not the others. Also add
manual type information.
augusto2112 pushed a commit to augusto2112/llvm-project that referenced this pull request Dec 3, 2025
Calloc was already here, but not the others. Also add
manual type information.
kcloudy0717 pushed a commit to kcloudy0717/llvm-project that referenced this pull request Dec 4, 2025
Calloc was already here, but not the others. Also add
manual type information.
Xubaidu pushed a commit to Xubaidu/llvm-project that referenced this pull request Jan 26, 2026
Calloc was already here, but not the others. Also add
manual type information.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants