Make i386-*-freebsd expression work on JIT path
* Enable i386 ABI creation for freebsd * Added an extra argument in ABISysV_i386::PrepareTrivialCall for mmap syscall * Unlike linux, the last argument of mmap is actually 64-bit(off_t). This requires us to push an additional word for the higher order bits. * Prior to this change, ktrace dump will show mmap failures due to invalid argument coming from the 6th mmap argument. Patch by Karnajit Wangkhem Differential Revision: https://reviews.llvm.org/D34776 llvm-svn: 311002
Showing
- lldb/include/lldb/Target/Platform.h 6 additions, 2 deletionslldb/include/lldb/Target/Platform.h
- lldb/source/Plugins/ABI/SysV-i386/ABISysV_i386.cpp 1 addition, 1 deletionlldb/source/Plugins/ABI/SysV-i386/ABISysV_i386.cpp
- lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp 9 additions, 3 deletionslldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp
- lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.h 4 additions, 2 deletionslldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.h
- lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp 7 additions, 3 deletionslldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
- lldb/source/Plugins/Platform/Linux/PlatformLinux.h 4 additions, 2 deletionslldb/source/Plugins/Platform/Linux/PlatformLinux.h
- lldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp 7 additions, 3 deletionslldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp
- lldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.h 4 additions, 2 deletionslldb/source/Plugins/Platform/NetBSD/PlatformNetBSD.h
- lldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.cpp 7 additions, 3 deletionslldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.cpp
- lldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.h 4 additions, 2 deletionslldb/source/Plugins/Platform/OpenBSD/PlatformOpenBSD.h
- lldb/source/Plugins/Process/Utility/InferiorCallPOSIX.cpp 5 additions, 7 deletionslldb/source/Plugins/Process/Utility/InferiorCallPOSIX.cpp
- lldb/source/Target/Platform.cpp 7 additions, 3 deletionslldb/source/Target/Platform.cpp
Loading
Please register or sign in to comment