diff --git a/lldb/source/Plugins/Platform/OHOS/PlatformOHOS.cpp b/lldb/source/Plugins/Platform/OHOS/PlatformOHOS.cpp index 68f22d232744297ea13ac746bb5d9839a0e092f4..f403740cf48bd27200739a25eaeb79a157154932 100644 --- a/lldb/source/Plugins/Platform/OHOS/PlatformOHOS.cpp +++ b/lldb/source/Plugins/Platform/OHOS/PlatformOHOS.cpp @@ -296,5 +296,5 @@ PlatformOHOS::GetLibdlFunctionDeclarations(lldb_private::Process *process) { } ConstString PlatformOHOS::GetMmapSymbolName(const ArchSpec &arch) { - return arch.GetTriple().isArch32Bit() ? ConstString("__lldb_mmap") : PlatformLinux::GetMmapSymbolName(arch); + return arch.GetTriple().isArch32Bit() ? ConstString("mmap") : PlatformLinux::GetMmapSymbolName(arch); }