aboutsummaryrefslogtreecommitdiffstats
path: root/src/benchmarks
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2018-12-17 13:26:47 +0000
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-12-17 16:38:40 +0100
commit95069a3038d8ba59a4e8d372d26173c777a84f08 (patch)
tree6b71331051b90996877e1ce595f47ff6cc04b42e /src/benchmarks
parentevas vg: remove redundant function code. (diff)
downloadefl-95069a3038d8ba59a4e8d372d26173c777a84f08.tar.gz
meson: Enable dev flags for cpp
Had to add a pragma around CityHash64 to make it work with -f-visibility=hidden Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D7466
Diffstat (limited to 'src/benchmarks')
-rw-r--r--src/benchmarks/eina/city.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/benchmarks/eina/city.cc b/src/benchmarks/eina/city.cc
index 36ff93b4e5..831adc1194 100644
--- a/src/benchmarks/eina/city.cc
+++ b/src/benchmarks/eina/city.cc
@@ -27,6 +27,8 @@
// possible hash functions, by using SIMD instructions, or by
// compromising on hash quality.
+#pragma GCC visibility push(default)
+
#include "city.h"
#include <algorithm>
@@ -305,3 +307,5 @@ uint128 CityHash128(const char *s, size_t len) {
return CityHash128WithSeed(s, len, uint128(k0, k1));
}
}
+
+#pragma GCC visibility pop