File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compiler-rt/lib/interception Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ namespace __interception {
136
136
static const int kAddressLength = FIRST_32_SECOND_64(4 , 8 );
137
137
static const int kJumpInstructionLength = 5 ;
138
138
static const int kShortJumpInstructionLength = 2 ;
139
- static const int kIndirectJumpInstructionLength = 6 ;
139
+ UNUSED static const int kIndirectJumpInstructionLength = 6 ;
140
140
static const int kBranchLength =
141
141
FIRST_32_SECOND_64 (kJumpInstructionLength , kIndirectJumpInstructionLength );
142
142
static const int kDirectBranchLength = kBranchLength + kAddressLength ;
@@ -165,7 +165,7 @@ static uptr GetMmapGranularity() {
165
165
return si.dwAllocationGranularity ;
166
166
}
167
167
168
- static uptr RoundUpTo (uptr size, uptr boundary) {
168
+ UNUSED static uptr RoundUpTo (uptr size, uptr boundary) {
169
169
return (size + boundary - 1 ) & ~(boundary - 1 );
170
170
}
171
171
@@ -309,7 +309,7 @@ struct TrampolineMemoryRegion {
309
309
uptr max_size;
310
310
};
311
311
312
- static const uptr kTrampolineScanLimitRange = 1 << 31 ; // 2 gig
312
+ UNUSED static const uptr kTrampolineScanLimitRange = 1 << 31 ; // 2 gig
313
313
static const int kMaxTrampolineRegion = 1024 ;
314
314
static TrampolineMemoryRegion TrampolineRegions[kMaxTrampolineRegion ];
315
315
You can’t perform that action at this time.
0 commit comments