[llvm] [BOLT][test] Update checkvma-large-section.test (PR #69419)
Amir Ayupov via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 17 21:27:25 PDT 2023
https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/69419
Make section NOBITS, reduce the size.
Cuts down test time on my machine from 11s to 3s.
>From cf2861550ade99101c218025320d1687cc2a2d11 Mon Sep 17 00:00:00 2001
From: Amir Ayupov <aaupov at fb.com>
Date: Tue, 17 Oct 2023 21:25:21 -0700
Subject: [PATCH] [BOLT][test] Update checkvma-large-section.test
Make section NOBITS, reduce the size.
Cuts down test time on my machine from 11s to 3s.
---
bolt/test/X86/checkvma-large-section.test | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/bolt/test/X86/checkvma-large-section.test b/bolt/test/X86/checkvma-large-section.test
index 36a915951115e10..afa44111ead49e5 100644
--- a/bolt/test/X86/checkvma-large-section.test
+++ b/bolt/test/X86/checkvma-large-section.test
@@ -19,7 +19,7 @@ ProgramHeaders:
Flags: [ PF_R, PF_W ]
FirstSec: .large_sec
LastSec: .large_sec
- VAddr: 0x4a0279a8
+ VAddr: 0x80000000
- Type: PT_GNU_RELRO
Flags: [ PF_R ]
Sections:
@@ -28,8 +28,8 @@ Sections:
Content: 00
AddressAlign: 0x1
- Name: .large_sec
- Type: SHT_PROGBITS
+ Type: SHT_NOBITS
Flags: [ SHF_WRITE, SHF_ALLOC ]
- Address: 0x4a0279a8
- Size: 0xdf8bb1a0
+ Address: 0x80000000
+ Size: 0x80000000
...
More information about the llvm-commits
mailing list