Affiliations
Projects
Talks & podcasts
WG21 papers
Blog posts
Other activity
- Merged PR[9.4.0] Revert "Make --test_env==NAME unset variables Bazel sets by default"
Description This reverts commit dfcf7afea37 (#32276), the cherry-pick of #31438. With this revert, --test_env==HOME again has no effect, as in 9.3.0. Motivation Besides making --test_env==HOME unset HOME, #31438 passes HOME=$TEST_TMPDIR in…
Bazel#32680 · by fmeum - Merged PR[clang][Modules] Don't home functions excluded from explicit instantiation
With -fmodules-codegen, inline functions and implicit template instantiations are emitted into the module's object file and users of the module only reference them. libc++ marks most of its inline functions as hidden and excluded from…
LLVM#240594 · by fmeum - Merged PR[9.4.0] Notify pending continuations on findMissingDigests failure in `RemoteExecutionCache`
When remoteCacheClient.findMissingDigests(...) fails or times out, the .map(...) transformation in findMissingBlobs was skipped without notifying pending uploadTask.continuation emitters. This left Execution entries permanently wedged in…
Bazel#31984 · by fmeum - Merged PR[libc] Don't match the byte after the range in vector find_first_character
The vectorized find_first_character implementations (clang_vector and the x86_64 arch_vector) returned the position of a match that was the first byte after the searched range. For example, memchr("ab", 'b', 1) returned a pointer to the…
LLVM#235288 · by fmeum - Merged PR[libc] Don't read memory in vector find_first_character if n is 0
The vectorized find_first_character implementations (clang_vector and the x86_64 arch_vector) loaded the aligned block containing the start pointer before checking the length. With a length of zero, the pointer doesn't have to be…
LLVM#235289 · by fmeum - Merged PR[8.9.0] Don't lose a connection permit that is taken but not delivered
Description TokenBucket.acquireToken() no longer goes through Single.create, whose emitter silently discards a value delivered after the downstream has been disposed. The acquisition is a Single of its own that decides under a lock whether…
Bazel#31899 · by fmeum - Merged PR[8.9.0] Cancel a queued channel acquisition when its caller is interrupted
Description ReferenceCountedChannel#blockingGet now cancels its future, and thereby disposes of its subscription to the connection pool, when the caller blocked on the future is interrupted. Motivation If all connection permits were…
Bazel#31900 · by fmeum - Merged PR[9.4.0] Fix layering_check failures when bootstrapping on macOS
Description Backports bazelbuild/apple_support#632 (released in 2.8.1) to Bazel's apple_support 2.5.2 as a patch. It enables the module_map_without_extern_module feature. A version bump isn't used because apple_support 2.8.x requires…
Bazel#32262 · by fmeum - Merged PR[8.9.0] Close the channel of a lock file when acquiring a lock fails
Description FileSystemLock.tryGet and FileSystemLock.get now close the channel they opened for the lock file when no lock is acquired, instead of leaving it to be closed by its cleaner once it has been garbage collected. Motivation On…
Bazel#31898 · by fmeum - Merged PR[8.9.0] Fix `genquery` crash on unhandled scope errors with `--keep_going`
Description A node that supports partial reevaluation is now committed with its child errors if its SkyFunction returns null after not handling the error of a dep and no dep is left to signal the node. If a dep may still signal it, the…
Bazel#31901 · by fmeum - Merged PR[9.3.1] Rewind an action whose output was lost before it could be downloaded
Description When the download of an action's outputs in finalizeAction finds that the remote cache has lost the blob of one of them, the action no longer fails with unable to finalize action. The prefetcher reports the lost outputs as a…
Bazel#31902 · by fmeum - Merged PR[ThinLTO] Record prevailing GUIDs by linker symbol name
LTO::addThinLTO updates GlobalResolutions using the IR name from a summary, but that map is keyed by mangled linker symbol names. On Mach-O, the IR name _foo can therefore match the resolution for foo (whose linker name is _foo). This…
LLVM#226911 · by fmeum - Merged PRDefine mi_malloc_size and mi_malloc_usable_size without MI_MALLOC_OVERRIDE
Since 8b7781a5, mi_malloc_size and mi_malloc_usable_size are defined in alloc-override.c so that they can be aliased, but only within the MI_MALLOC_OVERRIDE && !_DLL block. As a result, they are missing when mimalloc is built without…
mimalloc#1416 · by fmeum - Merged PRMake bitmap.h self-contained
src/bitmap.h relies on mimalloc/internal.h having been included before it, which all of its current includers do. This PR includes it explicitly so that the header can be parsed on its own, e.g. by build systems that verify that headers…
mimalloc#1418 · by fmeum - Merged PR[9.3.0] Reland the default flip of `--rewind_lost_inputs`
Reverts bazelbuild/bazel#31264 since the bugs with non-verifying ACs have been fixed. RELNOTES: --rewind_lost_inputs is now enabled by default. Builds with BwoB automatically recover from remote cache eviction by rewinding actions that…
Bazel#31416 · by fmeum