[NFC][AArch64] Extracted AArch64PassConfig::isGlobalISelOptNone (#196856)
Extracts AArch64PassConfig::isGlobalISelOptNone into a AArch64TargetMachine, as suggested in reviews for
https://github.com/llvm/llvm-project/pull/194156
This will help with NewPM porting since this functionality is required
in NewPM orchestration.
Adds GetOptions to CommandObjectBreakpointOverride{List, Delete}. (#197340)
This was causing flaky behavior in TestOverridesResolver.py.
I found this with ASAN, which also didn't like that I was running find
with begin() & end() of an empty std::vector. That surprised me a bit,
but its easy to avoid, so I also changed that here.
[LoongArch] Use fallback path when relocation `SymA == nullptr` (#196940)
This PR adds a fallback path for `SymA == nullptr && SymB != nullptr`
relocations. This prevents a null pointer dereference when trying to
assemble such an instruction.
Related unit tests are also updated to reflect this change.
Fixes #196927.
---
**v2** (9aabcf3b49e620d1ee49e3a29d7a85adadf13580):
* Add some inline comments as suggested by @wangleiat.
[Instrumentor] Add unreachable support; unreachable stack trace printing
Allow to instrument unreachable and provide a use case to identify an
unreachable was reached.
[Instrumentor] Add Alloca and Function support; stack usage example (#195378)
This adds support for alloca instrumentation and function pre/post
instrumentation. Alloca support follows load/store support directly.
Functions require special care to determine the insertion points.
Together, we can showcase how the stack high watermark can be profiled,
see InstrumentorStackUsage.cpp.
[Bazel] Drop :errno use from some libc math support libraries (#197336)
We only actually need the errno header. Using errno as a dependency
pulls in a c++ source file which requires compilation which precludes
use in a header library.
u3g: Add Telit LM960A18 LTE modem
The patch in the PR failed to apply, so I manually applied the same
changes.
PR: 295231
Submitted by: Mike Tancsa <mike at sentex.net>
Reviewed by: emaste
[clang] implement CWG2064: ignore value dependence for decltype
The 'decltype' for a value-dependent (but non-type-dependent) should be known,
so this patch makes them non-opaque instead.
This patch also implements what's neceessary to allow overloading
on pure differences in instantiation dependence, making `std::void_t`
usable for SFINAE purposes.
This also readds a few test cases from da98651, which was a previous attempt
at resolving CWG2064.
Fixes #8740
Fixes #61818
Fixes #190388