[lldb] Drop prefix & offset arguments in ParseTrieEntries (#202805)
I addressed Dave's review feedback locally but forgot to push the fix to
the PR branch. This removes the prefix and offset arguments from the
public API.
[lldb][docs] Drop stale Python 2 note from caveats page (NFC) (#202754)
Remove the Python 2 section from the caveats page. Python 2 has been
end-of-life since 2020 and is no longer shipped with current macOS, so
the xcrun guidance for it and the deprecation note are no longer useful.
As promised in #201256.
[flang][OpenMP] Remove CheckSymbolName{,s}, NFC
These functions checked if each OmpObject had a symbol, and emitted
a diagnostic if not. Name not having a symbol is an internal compiler
error (at least now), and will be detected separately.
Remove these functions since they don't serve any purpose anymore.
(math/R-reshape2) Updated 1.4.4 to 1.4.5
(pkgsrc)
- Fix build against R 4.6.0 by adding files/Makevar
(upstream)
# reshape2 1.4.5
* No longer uses non-API entry points (@kevinushey, #106).
* Other various fixes for `R CMD check` issues.
Fix several migration artifacts
- Lines starting with `%` are markdown line comments. This comes up
often when LLVM IR value names end up starting a new line in prose.
- Fix indentation in a few cases
- Use > prefix for intended block quote sections.
- Fix the VP section heading, the two-line "" heading underline wasn't
caught in the initial migration.
[DirectX] Move getNonDXILAttributeMask to DirectXIRPasses (#202781)
DXILDebugInfo.cpp uses it and is part of DirectXIRPasses, but
DXILPrepare.cpp defined it and is part of DirectXCodeGen. DirectXCodeGen
has a dependency on DirectXIRPasses, so we cannot also add a dependency
from DirectXIRPasses back on DirectXCodeGen, and we need to move the
definition of getNonDXILAttributeMask() instead.
Fixes: #201336
Handle objc_msgSend being a re-export symbol from libobjc.A.dylib. (#202776)
In some cases, objc_msgSend and the objc_msgSendSuper can be re-exported
symbols in libobjc.A.dylib. Handle that case here. There were a number
of failures in the ObjC stepping tests before this was handled, so we
didn't need more tests.
If there isn't a re-exported symbol, we'll fall back to a code symbol.
---------
Co-authored-by: Jonas Devlieghere <jonas at devlieghere.com>
[lldb] Adjust TestObjectFileMachO.cpp for macOS 27 (#202792)
In macOS 27 (and accompanying device OSes), objc_msgSend was moved out
of the libobjc dylib into other system dylibs.
The simplest fix is to use a different symbol from libobjc.
jail: Don't double-free the current prison in kern_jail_set/get
Reported by: Yuxiang Yang, et al <yangyx22 at mails.tsinghua.edu.cn>
Discussed with: markj
MFC after: 3 days
[flang] Support declarations scoping in FIR AA. (#201216)
Further experimentation with MLIR inlining showed that
FIR AA becomes more conservative once a subprogram is inlined.
For example:
```
subroutine caller(p1,p2)
real, pointer :: p1,p1
call callee(p1,p2)
end
subroutine callee(a1,a2)
real :: a1,a2
a1 = a2
end
```
After `callee` is inlined, FIR AA assumes that `a1` and `a2`
alias at the point of the assignment, because it classifies them
[7 lines not shown]
oops, build succeded but I obviously didn't run 'make package', the
mod_mgmtmode module was removed between 4.0.2 and 4.0.3. regen plist
to unbreak. problem reported by naddy.
[lldb] Fix infinite recursion in Mach-O export trie parsing (#202773)
A malformed (or hostile) export trie whose child offset points back to a
node already on the path from the root (a cycle) made ParseTrieEntries
recurse forever and overflow the stack.
Track the node offsets visited during the walk and reject any trie that
revisits one. Add unit tests for a self-cycle and a back-edge cycle.