File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -100,11 +100,7 @@ int msan_report_count = 0;
100
100
101
101
// Array of stack origins.
102
102
// FIXME: make it resizable.
103
- // Although BSS memory doesn't cost anything until used, it is limited to 2GB
104
- // in some configurations (e.g., "relocation R_X86_64_PC32 out of range:
105
- // ... is not in [-2147483648, 2147483647]; references section '.bss'").
106
- // We use kNumStackOriginDescrs * (sizeof(char*) + sizeof(uptr)) == 64MB.
107
- static const uptr kNumStackOriginDescrs = 4 * 1024 * 1024 ;
103
+ static const uptr kNumStackOriginDescrs = 1024 * 1024 ;
108
104
static const char *StackOriginDescr[kNumStackOriginDescrs ];
109
105
static uptr StackOriginPC[kNumStackOriginDescrs ];
110
106
static atomic_uint32_t NumStackOriginDescrs;
You can’t perform that action at this time.
0 commit comments