This saves ~2 MB of dirty memory footprint. Can be a big deal on mobile devices especially when running multiple processes with ASan.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
| lib/asan/asan_allocator.cc | ||
|---|---|---|
| 823 ↗ | (On Diff #124844) | And where's /*linker_initialized*/ true call? | 
| lib/asan/asan_allocator.cc | ||
|---|---|---|
| 823 ↗ | (On Diff #124844) | There's none. ASan's allocator is currently always linker initialized. Would you prefer to just call InitLinkerInitialized always? | 
| lib/asan/asan_allocator.cc | ||
|---|---|---|
| 823 ↗ | (On Diff #124844) | No, I just don't see how this, seemingly no op, change saves 2 MB. | 
Comment Actions
Great! I thought there's a file missing from the patch or something like this.
| lib/asan/asan_allocator.cc | ||
|---|---|---|
| 277 ↗ | (On Diff #124984) | Rename this to InitLinkerInitialized and drop the parameter. |