Skip to content

[lldb][Plugins][Swift] Reflect API changes in SwiftExpressionParser #8678

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2897 commits
Select commit Hold shift + click to select a range
5d711a4
Merge pull request #8447 from apple/jdevlieghere/rdar/124975526
JDevlieghere Mar 22, 2024
cfbe80b
Merge pull request #8458 from augusto2112/move-to-symbols
adrian-prantl Mar 22, 2024
b5a6af8
Merge pull request #8455 from rastogishubham/MCCAS32BitReloc6
adrian-prantl Mar 22, 2024
3b7f557
Merge pull request #8453 from chelcassanova/clarify-progress-doxygen-…
JDevlieghere Mar 22, 2024
4de562f
Merge pull request #8450 from adrian-prantl/125125193
adrian-prantl Mar 22, 2024
bf30120
[lldb] Add a setting to allow Swift AST context instantiations
augusto2112 Mar 22, 2024
f9a7e9b
[lldb] Change default alignment to be the same as the size
augusto2112 Mar 22, 2024
0f5f917
[lldb] Split TestSwiftEmbeddedFrameVariable into two tests
augusto2112 Mar 22, 2024
6d5203d
Merge pull request #8452 from AtariDreams/miscompile2
adrian-prantl Mar 22, 2024
3312447
Merge pull request #8461 from apple/disable-macosx-driver-tests
ravikandhadai Mar 23, 2024
dee589f
Merge pull request #8464 from augusto2112/split-test
adrian-prantl Mar 25, 2024
9147bf0
[lldb] Update for PrintOptions.PrintRegularClangComments removal
rintaro Mar 20, 2024
0b1a9d1
Add register lookup as another fallback computation for address-expre…
jimingham Mar 25, 2024
d9bc681
Add a swift test.
jimingham Mar 25, 2024
6e1071e
[lldb] [ObjectFileMachO] LLVM_COV is not mapped into firmware memory …
jasonmolenda Mar 25, 2024
c119195
Merge pull request #8476 from jasonmolenda/cp/llvm-cov-not-loaded-in-…
JDevlieghere Mar 26, 2024
e31140c
[lldb] Don't clear a Module's UnwindTable when adding a SymbolFile (#…
jasonmolenda Mar 26, 2024
cda1f7f
Merge pull request #8456 from rastogishubham/ClangScanDeps6
adrian-prantl Mar 26, 2024
3584ad1
Improve logging (NFC)
adrian-prantl Mar 26, 2024
27de569
Separate out the per-module and expression versions of LookupClangTyp…
adrian-prantl Mar 26, 2024
b57791e
Clear the Clang type cache when new modules are loaded
adrian-prantl Mar 26, 2024
ed27e54
Remove shell test that was testing a behavior I removed.
jasonmolenda Mar 26, 2024
1d54081
Create non-null typerefs in field descriptors for Clang types.
adrian-prantl Mar 26, 2024
6d6646f
Visit the current module first when looking up clang types (NFC)
adrian-prantl Mar 26, 2024
f86065d
Merge pull request #8470 from jimingham/addr-expression-swift
adrian-prantl Mar 26, 2024
471bfae
Merge pull request #8480 from adrian-prantl/121758809
adrian-prantl Mar 26, 2024
aae7c6a
[clang][deps] Lazy dependency directives (#86347)
jansvoboda11 Mar 22, 2024
c4c5ccc
Merge pull request #8438 from augusto2112/true-isUnsignedDIType
adrian-prantl Mar 27, 2024
3fea3a1
[lldb] Revive shell test after updating UnwindTable (#86770)
jasonmolenda Mar 27, 2024
563fcfc
[lldb] Don't report all progress event as completed. (#84281)
JDevlieghere Mar 7, 2024
9fafe32
[lldb] Do some gardening in ProgressReportTest (NFC) (#84278)
JDevlieghere Mar 7, 2024
59e6834
[lldb] Add an Alarm class for coalescing progress reports (#85329)
JDevlieghere Mar 15, 2024
b4001ac
[lldb] Add missing headers lldb/Host/Alarm.h
JDevlieghere Mar 15, 2024
fcdb379
[lldb] Implement coalescing of disjoint progress events (#84854)
JDevlieghere Mar 25, 2024
4888053
[clang][deps][CAS] Lazy dependency directives
jansvoboda11 Mar 23, 2024
9afb8bb
[DebugInfo] [SelectionDAG] Fix handling of duplicate dbg values (#86598)
Snowy1803 Mar 26, 2024
851bb55
[LLDBTypeInfoProvider] Store anonymous clang types in a side table
adrian-prantl Mar 27, 2024
05a6822
Replace BinaryStreamReader with DataExtractor
rastogishubham Mar 27, 2024
5e0ae86
Merge pull request #8479 from jasonmolenda/cp/dont-reset-unwindtable-…
JDevlieghere Mar 28, 2024
cd20c71
[lldb] Use SubsystemRAII in TestSwiftASTContext
JDevlieghere Mar 27, 2024
123720e
[lldb] Fix -Wctad-maybe-unsupported in Alarm.cpp (NFC)
DamonFool Mar 15, 2024
0067c04
[lldb] Avoid deadlock by unlocking before invoking callbacks (#86888)
JDevlieghere Mar 27, 2024
6a55169
Merge pull request #8483 from apple/jdevlieghere/progress-reports
JDevlieghere Mar 28, 2024
588dd92
Merge pull request #8468 from rintaro/6.0-sourcekit-clang-printer-rda…
rintaro Mar 28, 2024
f6e8eae
[Support] Fix color handling in formatted_raw_ostream (#86700)
nga888 Mar 28, 2024
7d0518c
Merge pull request #8490 from adrian-prantl/anonymous-types
adrian-prantl Mar 28, 2024
2ebe251
Rename test (NFC)
adrian-prantl Mar 28, 2024
c7aee9d
Support Objective-C enums without SwiftASTContext.
adrian-prantl Mar 28, 2024
2d19597
Move some Objectice-C tests to the ClangImporter subdir
adrian-prantl Mar 28, 2024
452b22f
[Serialization] Do less redundant work computing affecting module map…
sam-mccall Sep 22, 2023
f4bfa40
[clang][modules] Avoid calling expensive `SourceManager::translateFil…
jansvoboda11 Mar 28, 2024
3edb98f
[CodeGen/DWARF] Introduce DWARF tag for SwiftTail and emit it in Code…
adrian-prantl Mar 28, 2024
82fea75
Do not hardcode littleendian in DataExtractor
rastogishubham Mar 27, 2024
4d92e1d
Merge pull request #8485 from Snowy1803/6.0-fix-duplicate-funcargs-db…
adrian-prantl Mar 28, 2024
72b73dc
Merge pull request #8496 from apple/jdevlieghere/backport-c9db031c488…
JDevlieghere Mar 29, 2024
260c92c
[IncludeTree] Suppot `export_as` field in ModuleMap
cachemeifyoucan Mar 28, 2024
1b57e3e
Simplify calls to GetSwiftType (NFC)
adrian-prantl Mar 29, 2024
e5730d8
Add missing cases
adrian-prantl Mar 29, 2024
5e8ac4b
Merge pull request #8501 from adrian-prantl/dw_cc_swifttail
adrian-prantl Mar 29, 2024
e675022
Merge pull request #8498 from adrian-prantl/124540552
adrian-prantl Mar 29, 2024
218a6eb
Merge pull request #8491 from rastogishubham/FixBinaryStream6
adrian-prantl Mar 29, 2024
01c7b41
Fix unused function warning
rastogishubham Mar 29, 2024
50d7430
Thread llvm::Expected through SwiftASTContext::Reconstruct type
adrian-prantl Mar 29, 2024
fce7267
Merge pull request #8508 from rastogishubham/FixWarning6
adrian-prantl Apr 1, 2024
74ed35a
Try to figure out why this test is failing on CentOS and no other Linux.
jimingham Apr 1, 2024
c02cfa3
[lldb] Fix type lookup in DWARF .o files via debug map (#87177)
pabusse Mar 31, 2024
7d518af
Merge pull request #8517 from Michael137/bugfix/lldb-type-lookup-fix
adrian-prantl Apr 2, 2024
e1b786a
Merge pull request #8503 from adrian-prantl/125613361
adrian-prantl Apr 2, 2024
0ca426e
Return `errc::no_such_file_or_directory` in `fs::access` if `GetFileA…
z2oh Mar 27, 2024
db693a3
[clang] Move CCC_OVERRIDE_OPTIONS implementation to Driver (#85425)
kastiglione Mar 15, 2024
38c92c9
[lldb] Fix dwim-print to not delete non-result persistent variables (…
kastiglione Mar 15, 2024
8985bac
[lldb] Remove linux disable in TestSwiftExplicitModulesImplicitFallba…
kastiglione Mar 21, 2024
20920cc
Merge pull request #8514 from jimingham/centos-tests
JDevlieghere Apr 2, 2024
3100007
[lldb] Disable TestSwiftImageLookupPC.py
rintaro Apr 1, 2024
58c7a11
Revert "Try to figure out why this test is failing on CentOS and no o…
rintaro Apr 2, 2024
407ea67
Merge pull request #8509 from rintaro/disable-rdar125497260
rintaro Apr 3, 2024
0c555b1
[dsymutil] Support generating dSYMs for firmware environments (#87432)
JDevlieghere Apr 3, 2024
b97c8a7
Rewrite test to not depend on a compiler bug
adrian-prantl Apr 3, 2024
6fd0ca2
Strip out -fno-implicit-modules and friends from ClangImporter options
adrian-prantl Apr 3, 2024
1c2d47e
[clang][modules] NFCI: Pragma diagnostic mappings: write/read `FileID…
jansvoboda11 Apr 3, 2024
0f0ed2f
[clang][modules] Stop eagerly reading files with diagnostic pragmas (…
jansvoboda11 Apr 3, 2024
440381c
Merge pull request #8484 from apple/jan_svoboda/lazy-dep-directives
nkcsgexi Apr 3, 2024
c8f6911
Merge pull request #8499 from apple/jan_svoboda/affecting-mms-release
nkcsgexi Apr 3, 2024
21fe9b4
Merge pull request #8532 from adrian-prantl/hide-module
adrian-prantl Apr 3, 2024
31b0430
[clang][ExtractAPI] Add ability to create multiple symbol graphs (#86…
daniel-grumberg Apr 2, 2024
ddd87a1
Revert "[clang][ExtractAPI] Add ability to create multiple symbol gra…
daniel-grumberg Apr 2, 2024
2ab6927
[clang][ExtractAPI] improve template argument name deduction (#77716)
evelez7 Apr 2, 2024
b061d3b
Reenable external categories (#87357)
daniel-grumberg Apr 3, 2024
a798c8f
Merge pull request #8534 from apple/jan_svoboda/pragma-diags-release
nkcsgexi Apr 3, 2024
887a254
[lldb] Set static Module's load addresses via ObjectFile (#87439)
jasonmolenda Apr 3, 2024
1d5fcbc
Merge pull request #8530 from apple/jdevlieghere/cherrypick/83402c3
JDevlieghere Apr 4, 2024
bc58c59
[clang] Init fields added by #87357
vitalybuka Apr 4, 2024
d0f5f18
Merge pull request #8502 from cachemeifyoucan/eng/PR-include-tree-exp…
nkcsgexi Apr 4, 2024
06b2847
Merge pull request #8522 from apple/dl/swift/release/6.0/clang-Move-C…
adrian-prantl Apr 4, 2024
5177cc9
Merge pull request #8523 from apple/dl/swift/release/6.0/lldb-Fix-dwi…
adrian-prantl Apr 4, 2024
8ad8c02
Merge pull request #8524 from apple/dl/swift/release/6.0/lldb-Remove-…
adrian-prantl Apr 4, 2024
08e70a2
[lldb] Build DeclContext vector from a Swift demangle tree
augusto2112 Mar 22, 2024
72fc9c0
Merge pull request #8527 from adrian-prantl/124699949
adrian-prantl Apr 4, 2024
48a1f0f
Merge pull request #8518 from z2oh/z2oh/cherrypick-fix-windows-fs-acc…
DougGregor Apr 4, 2024
0bfcd54
[lldb] Support breakpoints on specific property accessor blocks
kastiglione Apr 4, 2024
3b959ba
Add CODEOWNERS to swift/release/6.0 branch
shahmishal Apr 5, 2024
3d18cab
Add tests
kastiglione Apr 5, 2024
953b22e
fix typo
kastiglione Apr 5, 2024
2c621a1
Test false positives
kastiglione Apr 5, 2024
c7c963a
Merge pull request #8465 from augusto2112/build-decl-context
adrian-prantl Apr 5, 2024
242f12f
Delete dead code
adrian-prantl Apr 5, 2024
bce2fc2
Add platform plugin path to Swift compiler invocation.
adrian-prantl Apr 5, 2024
8576916
Enable MCCAS by default in clang-cache
rastogishubham Apr 4, 2024
0f35b80
Follow swift test naming convention; add test method docstring
kastiglione Apr 5, 2024
2ff2ebe
Merge pull request #8540 from jasonmolenda/cp/use-whole-file-load-add…
JDevlieghere Apr 8, 2024
e090fa5
[cherry-pick swift/release/6.0][clang][modules] Headers meant to be i…
ian-twilightcoder Apr 6, 2024
20f59a8
[cherry-pick swift/release/6.0][Headers] Don't declare unreachable() …
Apr 6, 2024
20efc70
Merge pull request #8552 from ian-twilightcoder/import-textual
fredriss Apr 9, 2024
0514f4b
Merge pull request #8557 from ian-twilightcoder/cxx-unreachable
fredriss Apr 10, 2024
39d3e65
Merge pull request #8539 from daniel-grumberg/cherry-picks/swift/6.0/…
fredriss Apr 10, 2024
a14a33e
[clang][modules] Only compute affecting module maps with implicit sea…
jansvoboda11 Apr 10, 2024
20adecd
[lldb] [NFC] Fix swig docstring annotations (#88073)
jasonmolenda Apr 9, 2024
ab2142c
[lldb] Add swig doc for SBProcess address mask methods
jasonmolenda Apr 9, 2024
6f460b1
Regenerate static bindings on swift/release/6.0.
jasonmolenda Apr 10, 2024
7496505
Merge pull request #8560 from apple/jan_svoboda/affecting-mm-only-wit…
nkcsgexi Apr 10, 2024
3bcf7f7
Merge pull request #8563 from jasonmolenda/cp/fix-swig-docstrings-and…
JDevlieghere Apr 11, 2024
91b0501
[clang][modules] Do not resolve `HeaderFileInfo` externally in `ASTWr…
jansvoboda11 Apr 11, 2024
2126fea
[clangd] Don't ignore external HFI in `SymbolCollector` (#88446)
jansvoboda11 Apr 11, 2024
253e34c
[clang][deps] NFCI: Extract `FilenameForLookup` into new function
jansvoboda11 Apr 12, 2024
838b245
[llvm][vfs] NFCI: Remove `const` from `VFS::getRealPath()`
jansvoboda11 Apr 12, 2024
1a74d9d
[clang][deps] Create separate unittest directory
jansvoboda11 Apr 12, 2024
c545f0a
[clang][deps] Cache `VFS::getRealPath()` (#68645)
jansvoboda11 Apr 12, 2024
46d0ca8
[lldb] Fix test build failure
jansvoboda11 Apr 12, 2024
7f00791
[clang] Remove unused variable in test
jansvoboda11 Apr 12, 2024
7d077a8
[llvm][clang] Fix downstream build failures after edd7fed9
jansvoboda11 Apr 12, 2024
00b2089
[clang][deps] Overload `Filesystem::exists` in `DependencyScanningFil…
artemcm Apr 12, 2024
87b3b5d
Add lldb-dap to Swift distributions (#88482)
adam-fowler Apr 12, 2024
d189ec2
[cas] Add cc1 option -finclude-tree-preserve-pch-path
benlangmuir Apr 11, 2024
49cbc3a
Merge pull request #8546 from apple/dl/lldb-Support-breakpoints-on-sp…
adrian-prantl Apr 15, 2024
1c3a6bd
Merge pull request #8571 from apple/jan_svoboda/cache-real-path
nkcsgexi Apr 15, 2024
c5ac128
Merge pull request #8567 from apple/jan_svoboda/astwriter-hfi
nkcsgexi Apr 15, 2024
b0e130f
Reland "[lldb][lit] Add MallocNanoZone envvar to Darwin ASan builds" …
chelcassanova Apr 12, 2024
5a302e4
Merge pull request #8575 from apple/eng/blangmuir/finclude-tree-prese…
fredriss Apr 16, 2024
cb203b4
[IncludeTree] Support -frewrite-includes with include-tree
cachemeifyoucan Apr 3, 2024
ee08005
Merge pull request #8568 from chelcassanova/cherrypick/reland-lldb-li…
JDevlieghere Apr 16, 2024
2638d28
[lldb] Replace assertEquals with assertEqual (NFC) (#82073)
JDevlieghere Feb 17, 2024
7c6f381
[lldb] Replace assertEquals with assertEqual (NFC)
JDevlieghere Apr 17, 2024
f6f7134
[lldb] Replace assertRegexpMatches with assertRegex (NFC) (#82074)
JDevlieghere Feb 17, 2024
3f8a139
[lldb] Use PyBytes and PyByteArray in Python Data Objects unittest (#…
JDevlieghere Feb 17, 2024
db433de
[lldb] Call Import_AppendInittab before Py_Initialize (#82095)
JDevlieghere Feb 17, 2024
1555b73
[lldb] Don't rely on ScriptInterpreterPythonImpl::Initialize in the u…
JDevlieghere Feb 18, 2024
cdb16cb
[lldb] Migrate distutils.version.LooseVersion to packaging (#82066)
JDevlieghere Feb 19, 2024
339e896
Add total argument to Progress object for Swift reflection setup
z2oh Apr 16, 2024
ae3fe95
[lldb] Replace the usage of module imp with module importlib (#70443)
tuliom Oct 31, 2023
04bb9f4
[clang][deps] Support single-file mode for all formats (#88764)
jansvoboda11 Apr 17, 2024
efbeb41
[clang][deps] Add `-o` flag to specify output path (#88767)
jansvoboda11 Apr 17, 2024
7603d33
[lldb] Bump SWIG minimum version to 4
JDevlieghere Aug 4, 2023
2a6b782
Merge pull request #8548 from rastogishubham/EnableMCCAS6
adrian-prantl Apr 17, 2024
90e1467
Precise compiler invocations: Set C++ interoperability per SymbolContext
adrian-prantl Apr 17, 2024
7b678fb
Merge pull request #8587 from apple/jdevlieghere/python-3.12-support
JDevlieghere Apr 17, 2024
892383d
Disable part of test for the bots sake.
adrian-prantl Apr 18, 2024
6e266f0
Add missing nullptr check
adrian-prantl Apr 18, 2024
092327f
Merge pull request #8547 from adrian-prantl/124965889
adrian-prantl Apr 18, 2024
2c365f1
Merge pull request #8592 from adrian-prantl/125182583
adrian-prantl Apr 18, 2024
d537766
[clang][deps] Remove pgo profile flags from modules (#87724)
akyrtzi Apr 5, 2024
c35339a
[clang/DependencyScanning/ModuleDepCollector] Refactor part of `makeC…
akyrtzi Apr 15, 2024
4636d45
[clang][cas] Don't include PGO-related files in the include-tree when…
akyrtzi Apr 8, 2024
3ff1465
Merge pull request #8590 from chelcassanova/cherrypick/swift-reflecti…
JDevlieghere Apr 18, 2024
a60e688
Merge pull request #8595 from adrian-prantl/126428030
adrian-prantl Apr 18, 2024
fa20c15
Merge pull request #8583 from cachemeifyoucan/eng/PR-125719747-swift-6
nkcsgexi Apr 18, 2024
aa8bbc4
Reland "[lldb][sbdebugger] Move SBDebugger Broadcast bit enum into ll…
chelcassanova Apr 11, 2024
ffc041d
[lldb][test] Remove `self` references from decorators (#72416)
rupprecht Nov 16, 2023
e804c8b
[lldb] Migrate distutils.version.LooseVersion to packaging (#82066)
JDevlieghere Feb 19, 2024
d5c56fb
Add missing nullptr check
adrian-prantl Apr 19, 2024
b76411d
Merge pull request #8606 from adrian-prantl/126713133
adrian-prantl Apr 19, 2024
b0403cd
Merge pull request #8599 from akyrtzi/akyrtzi/pr/ignore-profile-flags…
bnbarham Apr 19, 2024
0e5035c
Merge pull request #8569 from chelcassanova/cherrypick/reland-move-sb…
JDevlieghere Apr 19, 2024
b9aa15d
Remove redundant code (NFC)
adrian-prantl Apr 19, 2024
81dc1c1
[ThinLTO] Extract optionality out of `ModuleCacheEntry` (#8083)
jansvoboda11 Jan 30, 2024
c840bc2
Merge pull request #8236 from apple/jan_svoboda/async-thinlto
jansvoboda11 Apr 19, 2024
2f3320e
Fix build
jansvoboda11 Apr 19, 2024
ef51a35
Merge pull request #8591 from apple/jan_svoboda/clang-scan-deps-niceties
nkcsgexi Apr 19, 2024
b6a3144
[lldb] Provide a better error message for missing symbols (#89433)
adrian-prantl Apr 19, 2024
e5a688c
Work around MSVC compilation error
jansvoboda11 Apr 20, 2024
94447cf
Merge pull request #8614 from apple/jan_svoboda/async-thinlto-release
nkcsgexi Apr 22, 2024
bafa348
[lldb] Print a message when background tasks take a while to complete…
JDevlieghere Mar 5, 2024
89cd623
Merge pull request #8613 from adrian-prantl/cherry-pick-swift-release…
adrian-prantl Apr 22, 2024
59fbb17
Merge pull request #8612 from adrian-prantl/redundant-ast
adrian-prantl Apr 22, 2024
857eac9
Add REQUIRES to 32-bit relocation tests in MCCAS
rastogishubham Apr 20, 2024
dfb472d
Support all MCEncodedFragmentWithContents variants
rastogishubham Apr 16, 2024
79b6e79
Reduce code duplication in MCCAS
rastogishubham Apr 18, 2024
c42a9eb
Introduce debug_str_offsets representation in MCCAS
rastogishubham Apr 13, 2024
262b63a
Introduce debug_loclists representation in MCCAS
rastogishubham Apr 13, 2024
f2432d3
Introduce debug_ranges representation in MCCAS
rastogishubham Apr 13, 2024
f2610db
Introduce debug_loc representation in MCCAS
rastogishubham Apr 13, 2024
c72be04
Introduce debug_rnglist representation in MCCAS
rastogishubham Apr 13, 2024
2ba8fa2
Introduce debug_line_str representation in MCCAS
rastogishubham Apr 18, 2024
0a21d9b
Introduce debug_names representation in MCCAS
rastogishubham Apr 18, 2024
0a6937c
Introduce apple_names representation in MCCAS
rastogishubham Apr 18, 2024
8d9ecf5
Introduce apple_types representation in MCCAS
rastogishubham Apr 18, 2024
cb8e6a9
Introduce apple_namepsac representation in MCCAS
rastogishubham Apr 18, 2024
c363031
Introduce apple_objc representation in MCCAS
rastogishubham Apr 18, 2024
8aa3406
Fix tests and add spport for new cas blocks
rastogishubham Apr 19, 2024
7dbd6b7
Register the symbol context's module's AST files first.
adrian-prantl Apr 17, 2024
84e7e51
[lldb][progress] Mitigate non-specific LLDB progress reports in Swift
chelcassanova Apr 23, 2024
d5ae9db
[llvm][cas] Fix thread safety issues with MappedFileRegionBumpPtr
benlangmuir Apr 22, 2024
2a0f6dc
Merge pull request #8619 from rastogishubham/FixRelocTest6
adrian-prantl Apr 23, 2024
dc49097
Merge pull request #8620 from rastogishubham/NewCASBlocks6
adrian-prantl Apr 23, 2024
e09e318
Merge pull request #8594 from adrian-prantl/astblob-order
adrian-prantl Apr 23, 2024
6c93933
[lldb] Restore upstream implementation of ClangPersistentVariables::R…
kastiglione Sep 22, 2023
a1580b2
Rewrite MCCAS Debug Info creation as iterative
rastogishubham Apr 16, 2024
09f63ab
Merge pull request #8604 from apple/jdevlieghere/python-3.12-distutils
JDevlieghere Apr 24, 2024
181dd79
Merge pull request #8617 from apple/jdevlieghere/cherrypick-2f343fc15…
JDevlieghere Apr 24, 2024
21e9d75
Update test for Swift progress reports
chelcassanova Apr 23, 2024
4f68d9b
[lldb] Revert changes for dcbf7881f6a4c0ad8c8853f851f43161dc3c3236
JDevlieghere Apr 24, 2024
57ee123
[lldb] Split CTF parsing and type creation (NFC)
JDevlieghere Jul 27, 2023
2c60f92
[lldb] Support CTF forward declarations
JDevlieghere Jul 28, 2023
7e81da4
[lldb] Fix CTF parsing of large structs
JDevlieghere Jul 29, 2023
8dc745e
[lldb] Support recursive record types in CTF
JDevlieghere Jul 30, 2023
43f674c
[lldb] Improve memory usage by freeing CTF types (NFC)
JDevlieghere Jul 31, 2023
f6f6bcb
[lldb] Re-apply changes for dcbf7881f6a4c0ad8c8853f851f43161dc3c3236
JDevlieghere Apr 24, 2024
d33ad22
[lldb] Silence warning with latest MSVC on Windows
aganea Jan 18, 2024
18e12db
[lldb] Fix crash in SymbolFileCTF::ParseFunctions (#89845)
JDevlieghere Apr 23, 2024
37d7fe7
Revert "[Sema] Use underlying type of scoped enum for -Wformat diagno…
porglezomp Apr 24, 2024
2f6f637
Revert "Diagnose incorrect use of scoped enumerations in format strings"
porglezomp Apr 24, 2024
e84c3ea
[lldb] Disable shell tests affected by ld_new bug (#84246)
kastiglione Mar 7, 2024
b311f6c
[lldb] Add ability to detect darwin host linker version to xfail test…
bulbazord Mar 7, 2024
d19cadc
[lldb] Support reconstructing types compiled with a different abi name
augusto2112 Apr 18, 2024
90d3f58
Merge pull request #8625 from benlangmuir/MappedFileRegionBumpPtr-thr…
fredriss Apr 25, 2024
04bbe1b
Merge pull request #8610 from apple/dl/lldb-Disable-shell-tests-affec…
adrian-prantl Apr 25, 2024
110be4c
[IncludeTree] Fix PPCallback for include tree that can cause missing …
cachemeifyoucan Apr 23, 2024
cb9ea31
[clang][cas] Move Error into Expected
jansvoboda11 Apr 25, 2024
ab4e7ae
Merge pull request #7514 from apple/dl/lldb-Restore-upstream-implemen…
adrian-prantl Apr 25, 2024
d26f7ff
Merge pull request #8626 from rastogishubham/RewriteMCCASDebugInfo6
adrian-prantl Apr 25, 2024
39f3a11
Merge pull request #8605 from augusto2112/abi-name-lldb
adrian-prantl Apr 25, 2024
c8cf6f4
Merge pull request #8641 from cachemeifyoucan/eng/PR-126885995-swift-6
nkcsgexi Apr 25, 2024
9ad96fa
Merge pull request #8643 from apple/jan_svoboda/move-err-release-6.0
fredriss Apr 26, 2024
b83e97e
Merge pull request #8637 from apple/jdevlieghere/CTF
JDevlieghere Apr 26, 2024
3d283d9
[lldb][sbapi] Fix API break in SBDebugger broadcast bits (#90261)
chelcassanova Apr 26, 2024
caf3865
[6.0] LLDB CMake: add option to link Swift content from Darwin toolchain
edymtt Apr 27, 2024
24f12aa
Merge pull request #8645 from chelcassanova/cherrypick/fix-sbdebugger…
JDevlieghere Apr 29, 2024
9a495dd
Merge pull request #8623 from chelcassanova/fix-unspecific-swift-prog…
JDevlieghere Apr 29, 2024
83823fd
Merge pull request #8648 from edymtt/edymtt/allow-linking-swift-conte…
shahmishal Apr 29, 2024
7b8e634
Merge pull request #8573 from adam-fowler/adamfowler/lldb-dap
JDevlieghere Apr 30, 2024
6712a1b
Temporarily disable negative `stat` caching for `.framework` directories
artemcm Apr 30, 2024
c291328
[clang] [cmake] Add cmake module dir before using GetDarwinLinkerVers…
mgorny Mar 23, 2024
f4d8849
Get the linker version and pass the it to compiler-rt tests on Darwin…
usama54321 Mar 22, 2024
e41ff5c
Pass the linker version to libfuzzer tests on darwin (#87719)
usama54321 Apr 5, 2024
aa603a7
[ASan][Test] Remove hardcoded linker version from test (#90147)
usama54321 Apr 26, 2024
05797c8
Add zlib compression to the debug_str_offset section
rastogishubham Apr 19, 2024
3140c4b
Merge pull request #8663 from usama54321/sanitizer-ci-cherry-picks
devincoughlin May 1, 2024
a8b8b0e
Merge pull request #8638 from apple/revert-wformat-scoped-enum
ravikandhadai May 1, 2024
0f54a18
Merge pull request #8662 from apple/artemcm/Swift6-NoNegativeFramewor…
nkcsgexi May 1, 2024
e2c7bdb
Merge pull request #8644 from rastogishubham/DbgStrOffs6
adrian-prantl May 1, 2024
fcc82bb
[lldb][Plugins][Swift] Reflect API changes in `SwiftExpressionParser`
antoniofrighetto May 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 2 additions & 0 deletions .github/workflows/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# For the release branch @apple/swift-branch-managers needs to approve the changes
* @apple/swift-branch-managers
2 changes: 2 additions & 0 deletions .github/workflows/libclang-abi-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,12 @@ jobs:
uses: actions/download-artifact@v3
with:
name: build-baseline
path: build-baseline
- name: Download latest
uses: actions/download-artifact@v3
with:
name: build-latest
path: build-latest

- name: Install abi-compliance-checker
run: sudo apt-get install abi-compliance-checker
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/llvm-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,17 @@ jobs:
uses: actions/download-artifact@v3
with:
name: build-baseline
path: build-baseline
- name: Download latest
uses: actions/download-artifact@v3
with:
name: build-latest
path: build-latest
- name: Download symbol list
uses: actions/download-artifact@v3
with:
name: symbol-list
path: symbol-list

- name: Install abi-compliance-checker
run: sudo apt-get install abi-compliance-checker
Expand Down
50 changes: 47 additions & 3 deletions .github/workflows/release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,53 @@ jobs:
fi
bash .github/workflows/set-release-binary-outputs.sh "${{ github.actor }}" "$tag" "$upload"

# Try to get around the 6 hour timeout by first running a job to fill
# the build cache.
fill-cache:
name: "Fill Cache ${{ matrix.os }}"
needs: prepare
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-22.04
steps:
- name: Checkout LLVM
uses: actions/checkout@v4
with:
ref: ${{ inputs.tag || github.ref_name }}

- name: Install Ninja
uses: llvm/actions/install-ninja@main

- name: Setup sccache
uses: hendrikmuhs/ccache-action@v1
with:
max-size: 250M
key: sccache-${{ matrix.os }}-release
variant: sccache

- name: Build Clang
run: |
cmake -G Ninja -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DCMAKE_BUILD_TYPE=Release -DCMAKE_ENABLE_ASSERTIONS=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DLLVM_ENABLE_PROJECTS=clang -S llvm -B build
ninja -v -C build


build-binaries:
name: ${{ matrix.target.triple }}
permissions:
contents: write # To upload assets to release.
needs: prepare
needs:
- prepare
- fill-cache
runs-on: ${{ matrix.target.runs-on }}
strategy:
fail-fast: false
matrix:
target:
- triple: x86_64-linux-gnu-ubuntu-22.04
runs-on: ubuntu-22.04-8x32
os: ubuntu-22.04
runs-on: ubuntu-22.04-16x64
debian-build-deps: >
chrpath
gcc-multilib
Expand All @@ -81,6 +116,14 @@ jobs:
ref: ${{ needs.prepare.outputs.ref }}
path: ${{ needs.prepare.outputs.build-dir }}/llvm-project

- name: Setup sccache
uses: hendrikmuhs/ccache-action@v1
with:
max-size: 250M
key: sccache-${{ matrix.target.os }}-release
save: false
variant: sccache

- name: Install Brew build dependencies
if: matrix.target.brew-build-deps != ''
run: brew install ${{ matrix.target.brew-build-deps }}
Expand All @@ -102,7 +145,8 @@ jobs:
-triple ${{ matrix.target.triple }} \
-use-ninja \
-no-checkout \
-no-test-suite
-no-test-suite \
-configure-flags "-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"

- name: Upload binaries
if: ${{ always() && needs.prepare.outputs.upload == 'true' }}
Expand Down
23 changes: 18 additions & 5 deletions .github/workflows/release-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
./llvm/utils/release/github-upload-release.py --token ${{ github.token }} --release ${{ steps.validate-tag.outputs.release-version }} upload --files *doxygen*.tar.xz

- name: Create Release Notes Artifact
uses: actions/download-artifact@v3
uses: actions/upload-artifact@v3
with:
name: release-notes
path: docs-build/html-export/
Expand Down Expand Up @@ -83,28 +83,41 @@ jobs:
- name: Checkout LLVM
uses: actions/checkout@v3

- name: Setup Cpp
uses: aminya/setup-cpp@v1
with:
compiler: llvm-16.0.6
cmake: true
ninja: true

- name: Install dependencies
run: apt-get install -y python3-setuptools
run: |
sudo apt-get update
sudo apt-get install -y python3-setuptools python3-psutil

- name: Test lit
run: |
cd llvm/utils/lit
python3 lit.py tests
mkdir build && cd build
export FILECHECK_OPTS='-dump-input-filter=all -vv -color'
cmake ../llvm -DCMAKE_BUILD_TYPE=Release -G Ninja
ninja -v -j $(nproc) check-lit

- name: Package lit
run: |
cd llvm/utils/lit
# Remove 'dev' suffix from lit version.
sed -i "s/ + 'dev'//g" lit/__init__.py
sed -i 's/ + "dev"//g' lit/__init__.py
python3 setup.py sdist

- name: Upload lit to test.pypi.org
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.LLVM_LIT_TEST_PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/
packages-dir: llvm/utils/lit/dist/

- name: Upload lit to pypi.org
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.LLVM_LIT_PYPI_API_TOKEN }}
packages-dir: llvm/utils/lit/dist/
22 changes: 22 additions & 0 deletions apple-ci/pr.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash

# Build script for ci.swift.org PR testing.
# Tools like cmake/ninja needs to be in $PATH
# and run the script in build directory.

LLVM_PROJECT_SRC=$1
LLVM_ENABLE_PROJECTS=${2:-"clang;clang-tools-extra"}

echo '--- CMake Config ---'
cmake -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_ENABLE_ASSERTIONS=On \
-DLLVM_ENABLE_PROJECTS=${LLVM_ENABLE_PROJECTS} \
'-DLLVM_TARGETS_TO_BUILD=X86;ARM;AArch64' \
'-DLLVM_LIT_ARGS=-v' \
${LLVM_PROJECT_SRC}/llvm

echo '--- Ninja Build ---'
ninja -v
echo '--- Ninja Test ---'
ninja -v -k 0 check-all
13 changes: 4 additions & 9 deletions bolt/include/bolt/Core/BinaryFunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -2298,15 +2298,10 @@ class BinaryFunction {
/// removed.
uint64_t translateInputToOutputAddress(uint64_t Address) const;

/// Take address ranges corresponding to the input binary and translate
/// them to address ranges in the output binary.
DebugAddressRangesVector translateInputToOutputRanges(
const DWARFAddressRangesVector &InputRanges) const;

/// Similar to translateInputToOutputRanges() but operates on location lists
/// and moves associated data to output location lists.
DebugLocationsVector
translateInputToOutputLocationList(const DebugLocationsVector &InputLL) const;
/// Translate a contiguous range of addresses in the input binary into a set
/// of ranges in the output binary.
DebugAddressRangesVector
translateInputToOutputRange(DebugAddressRange InRange) const;

/// Return true if the function is an AArch64 linker inserted veneer
bool isAArch64Veneer() const;
Expand Down
1 change: 0 additions & 1 deletion bolt/include/bolt/Core/DIEBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,6 @@ class DIEBuilder {
return Die->replaceValue(getState().DIEAlloc, Attribute, Form, NewValue);
}

template <class T>
bool deleteValue(DIEValueList *Die, dwarf::Attribute Attribute) {
return Die->deleteValue(Attribute);
}
Expand Down
19 changes: 19 additions & 0 deletions bolt/include/bolt/Core/DebugData.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include "llvm/CodeGen/DIE.h"
#include "llvm/DebugInfo/DWARF/DWARFContext.h"
#include "llvm/MC/MCDwarf.h"
#include "llvm/Support/FormatVariadic.h"
#include "llvm/Support/SMLoc.h"
#include "llvm/Support/raw_ostream.h"
#include <cstdint>
Expand Down Expand Up @@ -95,6 +96,12 @@ static inline bool operator<(const DebugAddressRange &LHS,
return std::tie(LHS.LowPC, LHS.HighPC) < std::tie(RHS.LowPC, RHS.HighPC);
}

inline raw_ostream &operator<<(raw_ostream &OS,
const DebugAddressRange &Range) {
OS << formatv("[{0:x}, {1:x})", Range.LowPC, Range.HighPC);
return OS;
}

/// DebugAddressRangesVector - represents a set of absolute address ranges.
using DebugAddressRangesVector = SmallVector<DebugAddressRange, 2>;

Expand All @@ -106,6 +113,18 @@ struct DebugLocationEntry {
SmallVector<uint8_t, 4> Expr;
};

inline raw_ostream &operator<<(raw_ostream &OS,
const DebugLocationEntry &Entry) {
OS << formatv("[{0:x}, {1:x}) : [", Entry.LowPC, Entry.HighPC);
const char *Sep = "";
for (unsigned Byte : Entry.Expr) {
OS << Sep << Byte;
Sep = ", ";
}
OS << "]";
return OS;
}

using DebugLocationsVector = SmallVector<DebugLocationEntry, 4>;

/// References a row in a DWARFDebugLine::LineTable by the DWARF
Expand Down
4 changes: 2 additions & 2 deletions bolt/include/bolt/Rewrite/DWARFRewriter.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class DWARFRewriter {
/// attribute.
void updateDWARFObjectAddressRanges(
DWARFUnit &Unit, DIEBuilder &DIEBldr, DIE &Die,
uint64_t DebugRangesOffset, uint64_t LowPCToUse,
uint64_t DebugRangesOffset,
std::optional<uint64_t> RangesBase = std::nullopt);

std::unique_ptr<DebugBufferVector>
Expand Down Expand Up @@ -173,7 +173,7 @@ class DWARFRewriter {
void convertToRangesPatchDebugInfo(
DWARFUnit &Unit, DIEBuilder &DIEBldr, DIE &Die,
uint64_t RangesSectionOffset, DIEValue &LowPCAttrInfo,
DIEValue &HighPCAttrInfo, uint64_t LowPCToUse,
DIEValue &HighPCAttrInfo,
std::optional<uint64_t> RangesBase = std::nullopt);

/// Adds a \p Str to .debug_str section.
Expand Down
Loading