#include <folly/Exception.h>
#include <folly/ScopeGuard.h>
+#ifndef STT_GNU_IFUNC
+#define STT_GNU_IFUNC 10
+#endif
+
namespace folly {
namespace symbolizer {
};
return iterateSymbolsWithTypes(
- section, {STT_OBJECT, STT_FUNC}, findSymbols);
+ section, {STT_OBJECT, STT_FUNC, STT_GNU_IFUNC}, findSymbols);
};
// Try the .dynsym section first if it exists, it's smaller.
};
return iterateSymbolsWithTypes(
- section, {STT_OBJECT, STT_FUNC}, findSymbols);
+ section, {STT_OBJECT, STT_FUNC, STT_GNU_IFUNC}, findSymbols);
};
// Try the .dynsym section first if it exists, it's smaller.