diff --git a/tools/profiler/shared-libraries-macos.cc b/tools/profiler/shared-libraries-macos.cc index 7003a043776c..b3d6250b7d29 100644 --- a/tools/profiler/shared-libraries-macos.cc +++ b/tools/profiler/shared-libraries-macos.cc @@ -65,7 +65,7 @@ void addSharedLibrary(const platform_mach_header* header, char *name, SharedLibr if (!strcmp(seg->segname, "__TEXT")) { size = seg->vmsize; unsigned long long start = reinterpret_cast(header); - info.AddSharedLibrary(SharedLibrary(start, start+seg->vmsize, seg->vmsize, name)); + info.AddSharedLibrary(SharedLibrary(start, start+seg->vmsize, 0, name)); return; } }