-
Notifications
You must be signed in to change notification settings - Fork 44
HOTFIX free after simplify bool, call munmap after each request #4115
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
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
d2e94cc
quick test calling kore.collect (kllvm_free_all_memory) after simplif…
jberthold 2db923c
Update kllvm-c.h and binding processing
jberthold 6ff1007
EXPERIMENT: add reset_munmap_all_arenas to LLVM API and call it after…
jberthold 6dea5d5
include LLVMAPI.collect in runLLVM routine
jberthold 8e88cd5
fml
jberthold 6e813d2
work around missing git in kontrol performance script, remove stray fi
jberthold fc58e10
add back --ignore-environment to performance test script
jberthold File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
/* minimal stdint.h according to POSIX, see | ||
https://pubs.opengroup.org/onlinepubs/009695399/basedefs/stdint.h.html | ||
*/ | ||
|
||
#ifndef _STDINT_H | ||
#define _STDINT_H | ||
|
||
typedef signed char int8_t; | ||
typedef short int int16_t; | ||
typedef int int32_t; | ||
typedef long long int int64_t; | ||
|
||
typedef unsigned char uint8_t; | ||
typedef unsigned short int uint16_t; | ||
typedef unsigned int uint32_t; | ||
typedef unsigned long long int uint64_t; | ||
|
||
typedef int8_t int_least8_t; | ||
typedef int16_t int_least16_t; | ||
typedef int32_t int_least32_t; | ||
typedef int64_t int_least64_t; | ||
|
||
typedef uint8_t uint_least8_t; | ||
typedef uint16_t uint_least16_t; | ||
typedef uint32_t uint_least32_t; | ||
typedef uint64_t uint_least64_t; | ||
|
||
typedef int8_t int_fast8_t; | ||
typedef int16_t int_fast16_t; | ||
typedef int32_t int_fast32_t; | ||
typedef int64_t int_fast64_t; | ||
|
||
typedef uint8_t uint_fast8_t; | ||
typedef uint16_t uint_fast16_t; | ||
typedef uint32_t uint_fast32_t; | ||
typedef uint64_t uint_fast64_t; | ||
|
||
#ifdef _WIN64 | ||
typedef signed __int64 intptr_t; | ||
typedef unsigned __int64 uintptr_t; | ||
#else | ||
typedef signed int intptr_t; | ||
typedef unsigned int uintptr_t; | ||
#endif | ||
|
||
typedef int64_t intmax_t; | ||
typedef uint64_t uintmax_t; | ||
|
||
#define INT8_MIN (-127 - 1) | ||
#define INT16_MIN (-32767 - 1) | ||
#define INT32_MIN (-2147483647 - 1) | ||
#define INT64_MIN (-9223372036854775807LL - 1) | ||
|
||
#define INT8_MAX 127 | ||
#define INT16_MAX 32767 | ||
#define INT32_MAX 2147483647 | ||
#define INT64_MAX 9223372036854775807LL | ||
|
||
#define UINT8_MAX 255 | ||
#define UINT16_MAX 65535 | ||
#define UINT32_MAX 4294967295U | ||
#define UINT64_MAX 18446744073709551615ULL | ||
|
||
#define INTPTR_MIN INT64_MIN | ||
#define INTPTR_MAX INT64_MAX | ||
#define UINTPTR_MAX UINT64_MAX | ||
#define INTMAX_MIN INT64_MIN | ||
#define INTMAX_MAX INT64_MAX | ||
#define UINTMAX_MAX UINT64_MAX | ||
|
||
#endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the important function, the rest is just aligning the header file contents with the upstream version.