[lldb] Replay the cached error from GetLoadImageUtilityFunction (#226986)
`Process::LoadImage` needs a live process to load a library: on POSIX it
makes the C library's `dlopen` run inside the debuggee, and on Windows
it makes `LoadLibraryExW` run there, both through a JIT-compiled
function call that needs a process to run the call in. On a core file
(or, on Windows, a saved minidump) there is no such process, so the load
fails every time. POSIX and Windows each lose the resulting error
message, but for two different reasons.
On POSIX, only the first failure is reported correctly. Load a corefile,
and load two libraries that do not exist shows this:
```
(lldb) process load /tmp/does-not-exist-1.dylib
error: failed to load '/tmp/does-not-exist-1.dylib': dlopen error: could not make function caller: Can't make a function caller without a process.
(lldb) process load /tmp/does-not-exist-2.dylib
error: failed to load '/tmp/does-not-exist-2.dylib': (null)
```
[57 lines not shown]
[flang][OpenMP] Remove unnecessary check for extension clauses (#228878)
Remove the check for extension clauses. These now do have descriptors,
so the check guarding the descriptor retrieval is no longer necessary.
[clang][www] Fix typos in OpenProjects page (#228822)
Fix various typos in Clang's [OpenProjects
page](https://clang.llvm.org/OpenProjects.html).
Assisted-by: Claude Sonnet 5.5
[Clang][OpenMP][NFC] Add test for `class-type` data members as loop counters (#228831)
Fixes #140243
An OpenMP loop whose init assigns to a data member of class type, like
`for (a = x; ...)` with `I<int> a`, crashed in
`OpenMPIterationSpaceChecker::checkAndSetInit`. Such an assignment is an
`operator=` call, so it goes through the `CXXOperatorCallExpr` branch,
and two of the `setLCDeclAndLB` calls there took the bound from `BO`,
the `BinaryOperator` cast that had already failed and is null at that
point. The invalid code in the report is not needed: a valid loop over
an iterator-typed data member crashed the same way.
#203252 replaced those `BO->getRHS()` uses with `CE->getArg(1)` as part
of another fix, so the crash is gone on trunk and no source change is
needed. This PR only adds a regression test so the issue can be closed.
kern: Fix write-open "." or ".." to return EISDIR instead of EEXIST
Before the fix, opening "." or ".." for write would return EEXIST, which
was incorrect per the POSIX spec:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/fopen.html
where one would expect one of EISDIR, EINVAL, EACCES.
For example:
```
% sh -c 'echo xxx > /tmp/.'
sh: cannot create /tmp/.: File exists
```
Fix the code to return EISDIR. Note that opening a directory other than
"." or ".." for write already returns EISDIR, e.g.,
[6 lines not shown]
databases/{,py-}duckdb: Update to 1.5.6
Changelog:
1.5.6:
What's Changed
Use relative includes in unity build sources for cache reuse by @NiclasHaderer in #23972
bump vortex by @samansmink in #24089
[variegata] Remove Julia client in favor of duckdb/DuckDB.jl by @evertlammerts in #24127
[variegata] Replace the C API spec and code generation by @evertlammerts in #24131
TopNWindowElimination Fixes by @d-justen in #24080
Fix active query race by @NiclasHaderer in #24123
Fix UNNEST Pushdown by @d-justen in #24119
[Parquet][Variant] Don't produce VARIANT metadata with sorted_strings set by @Tishj in #23591
Fix LIMIT pushdown through a volatile projection with an OFFSET by @DinosL in #24240
Don't push filters on volatile groups through aggregates by @DinosL in #24239
fix(adbc): return a dense union from ConnectionGetInfo by @eitsupi in #24196
Backport 24038 by @artjomPlaunov in #24326
Unify C-API symbol versioning for clients/extensions, stabilize all v1 API's by @Maxxen in #24362
backport 24332 by @DinosL in #24427
[64 lines not shown]
gumbo-parser: update to 0.14.1
- Update template parsing to match HTML spec changes
(WPT conformance)
- Guard </selectedcontent> against empty stack (crash fix)
- Skip option clone when it's inside selectedcontent (use-after-free
fix)
- Skip selectedcontent clone while descendant is open/active
(use-after-free fix)
- Default quirks mode to GUMBO_DOCTYPE_NO_QUIRKS (use of
uninitialized value fix)
- Avoid -Wvoid-pointer-to-enum-cast warnings in src/error.c and
src/parser.c