LLVM/project bade13fllvm/test/CodeGen/AArch64 call-rv-marker.ll reduce-or.ll

[AArch64][GlobalISel] Normalize and cleanup test check lines. NFC (#195234)
DeltaFile
+400-452llvm/test/CodeGen/AArch64/call-rv-marker.ll
+409-420llvm/test/CodeGen/AArch64/reduce-or.ll
+408-419llvm/test/CodeGen/AArch64/reduce-and.ll
+399-410llvm/test/CodeGen/AArch64/reduce-xor.ll
+164-414llvm/test/CodeGen/AArch64/mul_pow2.ll
+41-61llvm/test/CodeGen/AArch64/bool-ext-inc.ll
+1,821-2,1763 files not shown
+1,880-2,2759 files

LLVM/project 4487a39llvm/lib/Target/AArch64 AArch64ISelLowering.cpp, llvm/test/CodeGen/AArch64 sbc.ll

[AArch64] Extend SBC combine to handle CSET HI (#192708)

The `performSubWithBorrowCombine` previously only matched `CSET LO`
(unsigned <).
This extends it to also handle `CSET HI` (unsigned >) by swapping the
`SUBS` operands, since `a > b` is equivalent to `b < a`.

This resolves the FIXME left in the test from #165271.
DeltaFile
+193-5llvm/test/CodeGen/AArch64/sbc.ll
+21-3llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+214-82 files

LLVM/project 8eff63forc-rt/include/orc-rt-c WrapperFunction.h

[orc-rt] Add missing #include <stdint.h> (#195227)
DeltaFile
+1-0orc-rt/include/orc-rt-c/WrapperFunction.h
+1-01 files

LLVM/project 483f772lldb/source/Plugins/Process/gdb-remote ProcessGDBRemote.cpp

fixup! use breakpoint_infos size
DeltaFile
+1-1lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+1-11 files

LLVM/project 5c83a39lldb/source/Plugins/Process/gdb-remote GDBRemoteClientBase.cpp ProcessGDBRemote.cpp

fixup! cosmetic changes
DeltaFile
+2-2lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp
+2-1lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+1-1lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.h
+5-43 files

LLVM/project 68d1c40lldb/tools/debugserver/source DNB.cpp

[lldb][debugserver] ifdef guard around newer CPU_TYPEs (#195225)

The uses of the new CPU_SUBTYPEs depends on building with a newer SDK
that we don't have on Intel CI bots. Put idef guards around them,
debugserver won't be
working with these CPUs either way.
DeltaFile
+6-0lldb/tools/debugserver/source/DNB.cpp
+6-01 files

LLVM/project 594f8b9lldb/source/Plugins/Process/gdb-remote ProcessGDBRemote.cpp

fixup! don't fallback on all packets
DeltaFile
+21-11lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+21-111 files

LLVM/project 90d63delldb/source/Plugins/Process/gdb-remote ProcessGDBRemote.cpp GDBRemoteClientBase.cpp

fixup! make helper method to send packet
DeltaFile
+3-21lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+17-0lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp
+5-0lldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.h
+25-213 files

LLVM/project 60ccbc8lldb/source/Plugins/Process/gdb-remote ProcessGDBRemote.h ProcessGDBRemote.cpp

fixup! use map typedef
DeltaFile
+2-4lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
+2-3lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+4-72 files

LLVM/project 23a92b6lldb/include/lldb/Utility GDBRemote.h, lldb/source/Plugins/Process/gdb-remote ProcessGDBRemote.cpp ProcessGDBRemote.h

[lldb] Override UpdateBreakpointSites in ProcessGDBRemote to use MultiBreakpoint

This concludes the implementation of MultiBreakpoint by actually using
the new packet to batch breakpoint requests.

https://github.com/llvm/llvm-project/pull/192910
DeltaFile
+192-0lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+8-0lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
+4-0lldb/source/Utility/GDBRemote.cpp
+3-0lldb/include/lldb/Utility/GDBRemote.h
+207-04 files

LLVM/project 776ee6flldb/include/lldb/Target Process.h, lldb/source/Plugins/Process/Utility StopInfoMachException.cpp

[lldb] Implement delayed breakpoints (#192971)

This patch changes the Process class so that it delays *physically*
enabling/disabling breakpoints until the process is about to
resume/detach/be destroyed, potentially reducing the packets transmitted
by batching all breakpoints together.

Most classes only need to know whether a breakpoint is "logically"
enabled, as opposed to "physically" enabled (i.e. the remote server has
actually enabled the breakpoint). However, lower level classes like
derived Process classes, or StopInfo may actually need to know whether
the breakpoint was physically enabled. As such, this commit also adds a
"IsPhysicallyEnabled" API.

The following PRs are related to the MultiBreakpoint feature:

* https://github.com/llvm/llvm-project/pull/192910
* https://github.com/llvm/llvm-project/pull/192914
* https://github.com/llvm/llvm-project/pull/192915

    [4 lines not shown]
DeltaFile
+115-5lldb/source/Target/Process.cpp
+41-0lldb/test/API/functionalities/breakpoint/delayed_breakpoints/TestDelayedBreakpoint.py
+39-0lldb/include/lldb/Target/Process.h
+6-6lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+5-3lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp
+7-0lldb/test/API/functionalities/breakpoint/delayed_breakpoints/main.c
+213-147 files not shown
+230-2113 files

LLVM/project f973fa0libc/src/sys/mman mlock.h mlock2.h, libc/src/sys/mman/linux CMakeLists.txt

[libc][NFC] Replace <sys/mman.h> with proxy headers in mman (#195164)

Replaced direct <sys/mman.h> includes in sys/mman entrypoint headers
with granular proxy headers (hdr/types/size_t.h). The mmap.h entrypoint
header retains its transitive sys/mman.h include, keeping tests working.

Updated mremap.cpp and posix_madvise.cpp to include
hdr/sys_mman_macros.h for mman macros used directly.
DeltaFile
+4-2libc/src/sys/mman/linux/CMakeLists.txt
+1-2libc/src/sys/mman/mlock.h
+2-1libc/src/sys/mman/mlock2.h
+1-2libc/src/sys/mman/msync.h
+1-1libc/src/sys/mman/mincore.h
+1-1libc/src/sys/mman/mprotect.h
+10-99 files not shown
+19-1615 files

LLVM/project 4b4cd2blldb/source/Plugins/Process/Windows/Common ProcessWindows.cpp

fixup! also change windows call to breakpointsiteneabled
DeltaFile
+1-1lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
+1-11 files

LLVM/project a7c9725lldb/source/Plugins/DynamicLoader/MacOSX-DYLD DynamicLoaderDarwin.cpp

[lldb][Darwin] add 0x prefix on a hex value log message (#195223)
DeltaFile
+2-2lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
+2-21 files

LLVM/project 9f26ed4lldb/source/Target Process.cpp

fixup! Also delay initial breakpoint creation
DeltaFile
+9-1lldb/source/Target/Process.cpp
+9-11 files

LLVM/project c5a1f1alldb/test/API/functionalities/breakpoint/delayed_breakpoints TestDelayedBreakpoint.py main.c

fixup! Add test
DeltaFile
+41-0lldb/test/API/functionalities/breakpoint/delayed_breakpoints/TestDelayedBreakpoint.py
+7-0lldb/test/API/functionalities/breakpoint/delayed_breakpoints/main.c
+3-0lldb/test/API/functionalities/breakpoint/delayed_breakpoints/Makefile
+51-03 files

LLVM/project 965b4eblldb/source/Target Process.cpp

fixup! cosmetic changes
DeltaFile
+7-6lldb/source/Target/Process.cpp
+7-61 files

LLVM/project f00167flldb/include/lldb/Target Process.h, lldb/source/Target Process.cpp

fixup! protect bp cache with a lock
DeltaFile
+7-0lldb/source/Target/Process.cpp
+1-0lldb/include/lldb/Target/Process.h
+8-02 files

LLVM/project ab70afalldb/source/Target Process.cpp

fixup! review comments
DeltaFile
+4-4lldb/source/Target/Process.cpp
+4-41 files

LLVM/project 223ed6elldb/include/lldb/Target Process.h, lldb/source/Target Process.cpp ThreadPlanStepOverBreakpoint.cpp

fixup! use Error instead of Status
DeltaFile
+14-12lldb/source/Target/Process.cpp
+4-4lldb/source/Target/ThreadPlanStepOverBreakpoint.cpp
+2-2lldb/include/lldb/Target/Process.h
+20-183 files

LLVM/project 7d272a1lldb/include/lldb/Target Process.h, lldb/source/Target Process.cpp

fixup! fix typos
DeltaFile
+1-1lldb/include/lldb/Target/Process.h
+1-1lldb/source/Target/Process.cpp
+2-22 files

LLVM/project 9c3469blldb/include/lldb/Target Process.h, lldb/source/Target Process.cpp

fixup! Remove delayed breakpoints
DeltaFile
+7-11lldb/source/Target/Process.cpp
+2-4lldb/include/lldb/Target/Process.h
+9-152 files

LLVM/project 03271b2lldb/source/Target Process.cpp

fixup! don't enqueue actions that won't change the site status
DeltaFile
+7-1lldb/source/Target/Process.cpp
+7-11 files

LLVM/project d0940e9lldb/include/lldb/Target Process.h, lldb/source/Target Process.cpp

fixup! fix order of class declaration
DeltaFile
+14-12lldb/include/lldb/Target/Process.h
+2-3lldb/source/Target/Process.cpp
+16-152 files

LLVM/project e3ba307lldb/include/lldb/Target Process.h

fixup! make iteration order independent of pointers
DeltaFile
+10-1lldb/include/lldb/Target/Process.h
+10-11 files

LLVM/project bc745b3lldb/source/Target TargetProperties.td Process.cpp

fixup! review comments
DeltaFile
+2-2lldb/source/Target/TargetProperties.td
+1-0lldb/source/Target/Process.cpp
+3-22 files

LLVM/project a90e686lldb/include/lldb/Target Process.h, lldb/source/Plugins/Process/Utility StopInfoMachException.cpp

[lldb] Implement delayed breakpoints

This patch changes the Process class so that it delays *physically*
enabling/disabling breakpoints until the process is about to
resume/detach/be destroyed, potentially reducing the packets transmitted
by batching all breakpoints together.

Most classes only need to know whether a breakpoint is "logically"
enabled, as opposed to "physically" enabled (i.e. the remote server has
actually enabled the breakpoint). However, lower level classes like
derived Process classes, or StopInfo may actually need to know whether
the breakpoint was physically enabled. As such, this commit also adds a
"IsPhysicallyEnabled" API.

https://github.com/llvm/llvm-project/pull/192910
DeltaFile
+96-6lldb/source/Target/Process.cpp
+30-1lldb/include/lldb/Target/Process.h
+6-6lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+5-3lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp
+4-2lldb/source/Target/ThreadPlanStepOverBreakpoint.cpp
+5-0lldb/source/Target/TargetProperties.td
+146-183 files not shown
+150-229 files

LLVM/project a43299dorc-rt/lib/executor NativeDylibManager.cpp

[orc-rt] Add missing #include <algorithm> (#195224)
DeltaFile
+1-0orc-rt/lib/executor/NativeDylibManager.cpp
+1-01 files

LLVM/project b7daa89orc-rt/include/orc-rt Session.h

[orc-rt] Add missing #include <optional> (#195218)
DeltaFile
+1-0orc-rt/include/orc-rt/Session.h
+1-01 files

LLVM/project 1d83f82lldb/source/Plugins/DynamicLoader/MacOSX-DYLD DynamicLoaderDarwin.cpp

[lldb][Darwin] Don't add zero-length segments to SectionLoadList (#195206)

On Darwin systems with a shared cache, all the system binaries are
combined into a single range of virtual address space, placing all the
TEXT segments together, all the DATA segments together, etc. It shrinks
the sizes of the segments from their on-disk file size to the actual
size needed for their contents, instead of observing page alignment
rules for segments.

And in one uncommon case, it is possible for a segment to not be put in
the shared cache virtual range at all.

When DynamicLoaderDarwin adds each file's segments to the Target
SectionLoadList (the table showing what VM ranges they are mapped to),
we're using the original file's segment sizes. But the in-memory segment
sizes may be different for binaries in the shared cache. And for a
segment which is eliminated entirely (zero length), we'll get warnings
as the next segment is added to the same address in the SectionLoadList.


    [4 lines not shown]
DeltaFile
+18-0lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
+18-01 files