OSDN Git Service

Mark __jit_debug_register_code as a unique symbol
authorTamas Berghammer <tberghammer@google.com>
Wed, 2 Sep 2015 10:24:33 +0000 (11:24 +0100)
committerTamas Berghammer <tberghammer@google.com>
Wed, 11 Nov 2015 14:18:07 +0000 (14:18 +0000)
commite7132a9a5d98103fa52a750287476b063fa88863
tree6c7c88bdbe9a417bf747fb0bd7b076e009ade584
parent8a6463a7052ec69e7c0b94a65b26807f570e6359
Mark __jit_debug_register_code as a unique symbol

This symbol is used to notify the debugger about JIT library load/unload
events. Because of ICF, several functions with the same body put to the
same adress by the linker what causes the debugger to get notifictaion
about JIT load/unload events in several case where it isn't really happened.

This change disable ICF for the __jit_debug_register_code symbol to prevent
this behavior with keeping the symbol unique in the object file.

This is the recommit of 5caf652d7bfb43bdd2f3addfe8021a5fb8e3f796 after
fixing the compilation issue on sdk_phone_armv7-sdk (mac) target.

Change-Id: I027d2c7964098d47ed350ee6b7c74d82c88a5d1f
runtime/Android.mk