DescriptionMake combined native/manual JNI registration work for clang.
Since clang has trouble with aliases for static functions, go back to
using a trivial wrapper function instead of an alias. Since there is
only one caller of the wrapped, static function, and its address is no
longer taken to generate the manual JNI registration table (the
wrapper's address is already being taken instead), there's no actual
benefit to using an alias anyway, since the compiler will simply inline
the static function into the wrapper.
BUG=442327, 460857
TBR=cjhopman@chromium.org
Committed: https://crrev.com/cab875835ac9e39183ba0ac4fe30e96d1bdfec45
Cr-Commit-Position: refs/heads/master@{#317787}
Patch Set 1 #
Total comments: 2
Messages
Total messages: 17 (5 generated)
|