summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2024-04-15 14:04:38 +0000
committer VladimĂ­r Marko <vmarko@google.com> 2024-04-16 09:25:42 +0000
commit253075f929835d5b86b62840459e1b4f63e31aa1 (patch)
tree48048755bb4459ef55e29b4b6d41176e9a79d0ae /compiler/optimizing/code_generator.h
parent3293b63fd384bbe7e9c143e8b80761345d507536 (diff)
Rename `.data.bimg.rel.ro` to `.data.img.rel.ro`.
Prepare for adding app image patches to the same section. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 38313278 Change-Id: Ib552f005b3a2859152d0de9fa6b2fcd48a0f3feb
Diffstat (limited to 'compiler/optimizing/code_generator.h')
-rw-r--r--compiler/optimizing/code_generator.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/optimizing/code_generator.h b/compiler/optimizing/code_generator.h
index 94831cab9f..4a6a229098 100644
--- a/compiler/optimizing/code_generator.h
+++ b/compiler/optimizing/code_generator.h
@@ -735,15 +735,15 @@ class CodeGenerator : public DeletableArenaObject<kArenaAllocCodeGenerator> {
protected:
// Patch info used for recording locations of required linker patches and their targets,
// i.e. target method, string, type or code identified by their dex file and index,
- // or .data.bimg.rel.ro entries identified by the boot image offset.
+ // or boot image .data.img.rel.ro entries identified by the boot image offset.
template <typename LabelType>
struct PatchInfo {
PatchInfo(const DexFile* dex_file, uint32_t off_or_idx)
: target_dex_file(dex_file), offset_or_index(off_or_idx), label() { }
- // Target dex file or null for .data.bmig.rel.ro patches.
+ // Target dex file or null for boot image .data.img.rel.ro patches.
const DexFile* target_dex_file;
- // Either the boot image offset (to write to .data.bmig.rel.ro) or string/type/method index.
+ // Either the boot image offset (to write to .data.img.rel.ro) or string/type/method index.
uint32_t offset_or_index;
// Label for the instruction to patch.
LabelType label;