temporary get rid of ifunc in folly::Range
authorPhilip Pronin <philipp@fb.com>
Thu, 24 Jan 2013 18:55:10 +0000 (10:55 -0800)
committerJordan DeLong <jdelong@fb.com>
Mon, 4 Feb 2013 17:25:45 +0000 (09:25 -0800)
commitfe26f5beb9ee9874a0b18273d8f8df6363e87682
tree620edc8c41a71b547615433891026a61bb70e431
parent968440a97ba25eb18935d90e6377d30ffe17b318
temporary get rid of ifunc in folly::Range

Summary:
See discussion in D638500.

valgrind 3.7 contains a bug that makes it hung up
(https://bugs.kde.org/show_bug.cgi?id=301204).

glibc 2.5.1 doesn't support ifunc.

In the future we should conditionally compile ifunc stuff (this is also
required to support clang).

Test Plan:
unittests, ran range_benchmark to confirm there is no
significant performance drop, this additional level of indirection adds overhead of ~1ns.

tested on CPUs with and without SSE4.2 support.

Reviewed By: mmcurtiss@fb.com

FB internal diff: D687351
folly/Range.cpp