Combine entry point of addCombinedFilter and addFilter, decide via array in field what type it is. Generalize hash to detect if field is a combined or normal filter
[Verifier] Make verifier fail when global variable size exceeds address space size (#179625)
When a global variable has a size that exceeds the size of the address
space it resides in, the verifier should fail as the variable can
neither be materialized nor fully accessed. This patch adds a check to
the verifier to enforce it.
---------
Signed-off-by: Steffen Holst Larsen <HolstLarsen.Steffen at amd.com>
Co-authored-by: Steffen Holst Larsen <HolstLarsen.Steffen at amd.com>
[libc++] Only make comparators transparent in __tree if they don't cause a conversion (#179453)
We're currently unwrapping `less<T>` even if the `key_type` isn't `T`.
This causes the removal of an implicit conversion to `const T&` if the
types mismatch. Making `less<T>` transparent in that case changes
overload resolution and makes it fail potentially.
Fixes #179319
NAS-139692 / 26.0.0-BETA.1 / Skip cache insertion if we don't have a name (#18163)
Seen in QE AD domain that is not fully stable or predicable, but not in
other domains in our org or customer sites, it's possible that AD
response for query to resolve SID to name may return empty string.
Because of intervening caching layers in NSS plugin and winbindd, we
don't have an effective way to force AD to keep trying till it gives us
something sane. In this case, we'll just ignore the entry for cache
insertion purposes. The user or group won't appear in dropdowns, but
functional impact will be limited since admins can still type in the
name (hopefully) and recover at a future point.
sbin/geom: Convert err/warn() to xo_err/warn() and style(9) fixes
Finishing up the libxo conversion of geom by switching err(3) to their
libxo equivalents.
While here, fix some style(9) issues. There are still a few left, but at
least they're fewer now.
Reviewed by: asomers
Approved by: asomers (mentor)
MFC after: 2 weeks
Sponsored by: ConnectWise
Differential Revision: https://reviews.freebsd.org/D54938
[clang][bytecode] Only reject function types in Pointer::toRValue() (#180722)
No test because I'm not sure how to reproduce this, but this patch fixes
`CodeGen/ptrauth-qualifier-function.c`.
For function pointer types and function reference types, we use
`Pointer`s these days, so we _can_ return them.
[SPIRV] Add a `SPIRVTypeInst` type with some guardrails
Currently `SPIRVType` is an alias of `MachineInstr`:
```cpp
using SPIRVType = const MachineInstr;
```
Consider the function below from the backend:
```cpp
inline Register getTypeReg(MachineRegisterInfo *MRI, Register OpReg) {
SPIRVType *TypeInst = MRI->getVRegDef(OpReg);
return TypeInst && TypeInst->getOpcode() ==
SPIRV::OpFunctionParameter
? TypeInst->getOperand(1).getReg()
: OpReg;
}
```
[10 lines not shown]
Add limits (therm, high and low) to ADM1026 sensors.
Change conversions to define's because we use them in more places.
Fix a bug when checking if V2.5 2 is configured.
Move start/stop monitoring to separate functions and use them in pmf*.
Add missing NetBSD keywords.