forked from XRPLF/rippled
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/develop' into action
* upstream/develop: Rename `allowClawback` flag to `allowTrustLineClawback` (4617) Update dependencies (4595)
- Loading branch information
Showing
26 changed files
with
237 additions
and
147 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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
13 changes: 13 additions & 0 deletions
13
external/snappy/patches/1.1.10-0001-fix-inlining-failure.patch
This file contains 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,13 @@ | ||
diff --git a/snappy-stubs-internal.h b/snappy-stubs-internal.h | ||
index 1548ed7..3b4a9f3 100644 | ||
--- a/snappy-stubs-internal.h | ||
+++ b/snappy-stubs-internal.h | ||
@@ -100,7 +100,7 @@ | ||
|
||
// Inlining hints. | ||
#if HAVE_ATTRIBUTE_ALWAYS_INLINE | ||
-#define SNAPPY_ATTRIBUTE_ALWAYS_INLINE __attribute__((always_inline)) | ||
+#define SNAPPY_ATTRIBUTE_ALWAYS_INLINE | ||
#else | ||
#define SNAPPY_ATTRIBUTE_ALWAYS_INLINE | ||
#endif // HAVE_ATTRIBUTE_ALWAYS_INLINE |
13 changes: 13 additions & 0 deletions
13
external/snappy/patches/1.1.10-0003-fix-clobber-list-older-llvm.patch
This file contains 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,13 @@ | ||
diff --git a/snappy.cc b/snappy.cc | ||
index d414718..e4efb59 100644 | ||
--- a/snappy.cc | ||
+++ b/snappy.cc | ||
@@ -1132,7 +1132,7 @@ inline size_t AdvanceToNextTagX86Optimized(const uint8_t** ip_p, size_t* tag) { | ||
size_t literal_len = *tag >> 2; | ||
size_t tag_type = *tag; | ||
bool is_literal; | ||
-#if defined(__GCC_ASM_FLAG_OUTPUTS__) && defined(__x86_64__) | ||
+#if defined(__GCC_ASM_FLAG_OUTPUTS__) && defined(__x86_64__) && ( (!defined(__clang__) && !defined(__APPLE__)) || (!defined(__APPLE__) && defined(__clang__) && (__clang_major__ >= 9)) || (defined(__APPLE__) && defined(__clang__) && (__clang_major__ > 11)) ) | ||
// TODO clang misses the fact that the (c & 3) already correctly | ||
// sets the zero flag. | ||
asm("and $3, %k[tag_type]\n\t" |
This file contains 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 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 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 |
---|---|---|
|
@@ -28,6 +28,7 @@ | |
|
||
#include <optional> | ||
#include <string> | ||
#include <vector> | ||
|
||
namespace ripple { | ||
|
||
|
This file contains 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 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 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 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.