diff options
author | 2022-01-11 14:07:00 +0000 | |
---|---|---|
committer | 2022-01-28 02:21:28 +0000 | |
commit | 2d62882195eb97358fb8a1fd147d52a36cd3c581 (patch) | |
tree | ebe435e6b50c3f0a3c5ce197e666481285510a93 /compiler/optimizing/sharpening.cc | |
parent | b484f0fa93d9388741b806640cd91f85debdf142 (diff) |
Add bss support for inlining BCP DexFiles for single image
This CL extends the .bss metadata section to allow for BCP methods
to be inlined into other DexFiles, even when requiring a bss entry.
Test: ART tests, compiling and launching top 100 apps
Bug: 154012332
Change-Id: Ib541e69a9c52b3fad003d286a5b57060770e1395
Diffstat (limited to 'compiler/optimizing/sharpening.cc')
-rw-r--r-- | compiler/optimizing/sharpening.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/optimizing/sharpening.cc b/compiler/optimizing/sharpening.cc index 1fd76f7029..eb4c20690f 100644 --- a/compiler/optimizing/sharpening.cc +++ b/compiler/optimizing/sharpening.cc @@ -283,6 +283,7 @@ HLoadClass::LoadKind HSharpening::ComputeLoadClassKind( // We actually cannot reference this class, we're forced to bail. // We cannot reference this class with Bss, as the entrypoint will lookup the class // in the caller's dex file, but that dex file does not reference the class. + // TODO(solanes, 154012332): Add the support for the cross-dex cases. return HLoadClass::LoadKind::kInvalid; } } |