[PR] Instrumentation: Avoid generating GOT table in instrumentation library

Summary:
To avoid RELATIVE relocations avoid using of GOT table
by using hidden visibility for all symbols in library.

Vladislav Khmelevsky,
Advanced Software Technology Lab, Huawei

(cherry picked from FBD30092712)
This commit is contained in:
Vladislav Khmelevsky 2021-07-22 00:04:28 +03:00 committed by Maksim Panchenko
parent 553f28e921
commit af58da4ef3

View File

@ -53,6 +53,7 @@
{}
#endif
#pragma GCC visibility push(hidden)
extern "C" {