Fix SHOW_MEMORY for gcc and glibc on linux
All checks were successful
Tests / Clang total: 932, passed: 932
Clang |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|0|0|0|0|:clap:
Tests / Release [gcc] total: 932, passed: 932
Tests / Release [gcc,aarch64] total: 931, passed: 931
Tests / Coverage total: 930, passed: 930
weaselab/conflict-set/pipeline/head This commit looks good
All checks were successful
Tests / Clang total: 932, passed: 932
Clang |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|0|0|0|0|:clap:
Tests / Release [gcc] total: 932, passed: 932
Tests / Release [gcc,aarch64] total: 931, passed: 931
Tests / Coverage total: 930, passed: 930
weaselab/conflict-set/pipeline/head This commit looks good
This commit is contained in:
@@ -47,7 +47,9 @@ limitations under the License.
|
||||
#if __has_builtin(__builtin_assume)
|
||||
#define assume(e) __builtin_assume(e)
|
||||
#else
|
||||
#define assume(e) __attribute__((assume(e)))
|
||||
#define assume(e) \
|
||||
if (!(e)) \
|
||||
__builtin_unreachable()
|
||||
#endif
|
||||
#else
|
||||
#define assume assert
|
||||
|
Reference in New Issue
Block a user