diff options
author | 2021-01-26 13:44:07 -0800 | |
---|---|---|
committer | 2021-01-28 21:45:09 +0000 | |
commit | f3f1c8b41ebee81a34cb104417e1a78e6ad45173 (patch) | |
tree | 9cf3b4ef81d4b7c1d6e7bd5861d621b736d1e692 /compiler/optimizing/optimizing_compiler.cc | |
parent | a7c66e7e5845b26711b261773179abf0f8b34ced (diff) |
Add comment to art_jni_trampoline.
Bug: 175226454
Test: N/A
Change-Id: Ia83c3afa69d7e1efb9685cfaa5401242712fa02a
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.cc')
-rw-r--r-- | compiler/optimizing/optimizing_compiler.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/optimizing/optimizing_compiler.cc b/compiler/optimizing/optimizing_compiler.cc index 8cd34cf68f..172a0834f0 100644 --- a/compiler/optimizing/optimizing_compiler.cc +++ b/compiler/optimizing/optimizing_compiler.cc @@ -1284,6 +1284,7 @@ bool OptimizingCompiler::JitCompile(Thread* self, std::vector<uint8_t> debug_info; if (compiler_options.GenerateAnyDebugInfo()) { debug::MethodDebugInfo info = {}; + // Simpleperf relies on art_jni_trampoline to detect jni methods. info.custom_name = "art_jni_trampoline"; info.dex_file = dex_file; info.class_def_index = class_def_idx; |