OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:stack_size_log
(Results
1 - 4
of
4
) sorted by null
/external/compiler-rt/lib/asan/
asan_fake_stack.h
41
// we store it as its logarithm (
stack_size_log
).
51
// any memory accesses solely based on 'this' and
stack_size_log
.
66
static FakeStack *Create(uptr
stack_size_log
);
70
//
stack_size_log
is at least 15 (stack_size >= 32K).
71
static uptr SizeRequiredForFlags(uptr
stack_size_log
) {
72
return 1UL << (
stack_size_log
+ 1 - kMinStackFrameSizeLog);
76
static uptr SizeRequiredForFrames(uptr
stack_size_log
) {
77
return (1ULL <<
stack_size_log
) * kNumberOfSizeClasses;
81
static uptr RequiredSize(uptr
stack_size_log
) {
82
return kFlagsOffset + SizeRequiredForFlags(
stack_size_log
)
150
uptr
stack_size_log
() const { return
stack_size_log
_; }
function in class:__asan::FakeStack
[
all
...]
asan_fake_stack.cc
45
FakeStack *FakeStack::Create(uptr
stack_size_log
) {
48
if (
stack_size_log
< kMinStackSizeLog)
49
stack_size_log
= kMinStackSizeLog;
50
if (
stack_size_log
> kMaxStackSizeLog)
51
stack_size_log
= kMaxStackSizeLog;
52
uptr size = RequiredSize(
stack_size_log
);
56
res->stack_size_log_ =
stack_size_log
;
58
VReport(1, "T%d: FakeStack created: %p -- %p
stack_size_log
: %zd; "
61
p + FakeStack::RequiredSize(
stack_size_log
),
stack_size_log
,
117
uptr
stack_size_log
= this->
stack_size_log
();
local
[
all
...]
asan_thread.cc
139
uptr
stack_size_log
= Log2(RoundUpToPowerOfTwo(stack_size));
local
141
stack_size_log
=
142
Min(
stack_size_log
, static_cast<uptr>(flags()->max_uar_stack_size_log));
143
stack_size_log
=
144
Max(
stack_size_log
, static_cast<uptr>(flags()->min_uar_stack_size_log));
145
fake_stack_ = FakeStack::Create(
stack_size_log
);
/external/compiler-rt/lib/asan/tests/
asan_fake_stack_test.cc
47
for (uptr
stack_size_log
= 15;
stack_size_log
<= 20;
stack_size_log
++) {
48
uptr stack_size = 1UL <<
stack_size_log
;
54
EXPECT_EQ(offset, FakeStack::FlagsOffset(
stack_size_log
, class_id));
55
// printf("%zd: %zd => %zd %zd\n",
stack_size_log
, class_id, offset,
56
// FakeStack::FlagsOffset(
stack_size_log
, class_id));
65
for (uptr
stack_size_log
= 20;
stack_size_log
<= 22;
stack_size_log
++)
94
const uptr
stack_size_log
= 20;
local
107
const uptr
stack_size_log
= 19;
local
146
const uptr
stack_size_log
= 16;
local
[
all
...]
Completed in 3895 milliseconds