Skip to content

Merge webkit checker improvements #8348

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
wants to merge 2,512 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2512 commits
Select commit Hold shift + click to select a range
ba6db14
[lldb] Add lldb-dap to LLVM_DISTRIBUTION_COMPONENTS
JDevlieghere Feb 12, 2024
aaebcbf
[llvm][GlobalOpt] Optimize statically resolvable IFuncs (#80606)
jroelofs Feb 6, 2024
70c6bcf
Turn on precise Swift compiler invocations by default
adrian-prantl Feb 8, 2024
a241f56
Merge pull request #8172 from felipepiovezan/felipe/cherry-pickdwarf-…
felipepiovezan Feb 13, 2024
f20531a
[-Wunsafe-buffer-usage] Introduce std::array fixits (#80084)
jkorous-apple Feb 12, 2024
e238ee5
Merge pull request #8175 from fhahn/matrix-hoist-transpose-fix
fhahn Feb 13, 2024
4c38e8d
[Matrix] Add missing intrinsic definitions to test.
fhahn Feb 13, 2024
78aa821
[lldb] Update swift::ASTContext API
cachemeifyoucan Feb 9, 2024
19e14e0
Merge pull request #8180 from fhahn/matrix-test-fix
fhahn Feb 13, 2024
da3753f
Invalidate the reflection metadata cache when new symbols are added.
adrian-prantl Feb 13, 2024
bada760
Merge pull request #8157 from adrian-prantl/enable-precise
adrian-prantl Feb 13, 2024
fd8bce7
[DWARFYAML] Implement debug_names support (#79666)
felipepiovezan Feb 12, 2024
be4b8c1
[lldb][DWARFIndex] Use IDX_parent to implement GetFullyQualifiedType …
felipepiovezan Feb 13, 2024
7ffcfbc
Merge pull request #8178 from jkorous-apple/cxx-safe-buffers/integrat…
jkorous-apple Feb 13, 2024
ad2f8cb
[analyzer] Unbreak [[clang::suppress]] on checkers without decl-with-…
haoNoQ Jan 31, 2024
d108990
[analyzer][HTMLRewriter] Cache partial rewrite results. (#80220)
haoNoQ Feb 1, 2024
c5b3be3
Fix a crash in clang::isGetterOfRefCounted by checking nullptr in try…
rniwa Feb 6, 2024
d591b31
[analyzer] Ignore assignment to Ref / RefPtr in alpha.webkit.Uncounte…
rniwa Feb 12, 2024
d80da12
[analyzer] Add the support for calling Ref::ptr accessor. (#80919)
rniwa Feb 12, 2024
9e2267f
[analyzer] Fix an implicit cast to a base ref counted class generates…
rniwa Feb 12, 2024
0d0262a
[analyzer] Allow default arguments to be evaluated like other argumen…
rniwa Feb 12, 2024
f786d8a
[attributes][analyzer] Generalize [[clang::suppress]] to declarations…
haoNoQ Feb 13, 2024
fb88f3a
[-Wunsafe-buffer-usage] Emit fixits for array decayed to pointer (#80…
jkorous-apple Feb 13, 2024
05a060e
Merge pull request #8181 from adrian-prantl/122432501
adrian-prantl Feb 13, 2024
bfbd76b
Improve logging.
adrian-prantl Feb 13, 2024
0a7030b
[Sanitizers][ABI] Build ASAN shim for arm64_32 arch (#81066)
wrotki Feb 12, 2024
cdbce45
Use early-exit short-circuit evaluation (NFC)
adrian-prantl Feb 14, 2024
895f7da
Add error logging when reflection metadata loadign fails
adrian-prantl Feb 14, 2024
7a844f6
Merge pull request #8176 from apple/jdevlieghere/lldb-dap
JDevlieghere Feb 14, 2024
f9f0e96
Merge pull request #8188 from apple/m_borsa/cherry-pick-d9c3066
wrotki Feb 14, 2024
aee6ede
Merge pull request #8183 from felipepiovezan/felipe/cherry-pick-idxpa…
felipepiovezan Feb 14, 2024
438950f
Log GetObjectName or the Object filename, whichever is available.
adrian-prantl Feb 14, 2024
d05e79d
Migrate remaining llvm::Optional to std::optional
bnbarham Feb 3, 2024
1a5b261
Make ValueObjectPrinter's handling of its ValueObject pointers more p…
jimingham Feb 12, 2024
cd1082e
Merge pull request #8185 from jkorous-apple/cxx-safe-buffers/integrat…
jkorous-apple Feb 14, 2024
838142a
Merge pull request #8186 from adrian-prantl/log-objfile
adrian-prantl Feb 14, 2024
a32c9d9
Fixup some Swift specific code in ValueObjectPrinter.
jimingham Feb 14, 2024
81fa098
Merge pull request #8184 from haoNoQ/static-analyzer-cherrypicks-2024-02
haoNoQ Feb 14, 2024
dab86bb
[lldb] Move template python files to separate directory
medismailben Aug 31, 2023
a590c89
Add the ability to define a Python based command that uses CommandObj…
jimingham Feb 13, 2024
cc9b8f5
[analyzer] Check the safety of the object argument in a member functi…
rniwa Feb 14, 2024
d869371
[analyzer] Add a few more safe functions to call. (#81532)
rniwa Feb 14, 2024
e83c8bc
[analyzer] Detect a return value of Ref<T> & RefPtr<T> (#81580)
rniwa Feb 14, 2024
94dcfd3
Update the static bindings for the ParsedCommand interface.
jimingham Feb 15, 2024
1591857
Merge pull request #8192 from jimingham/swift-valobj-ref
jimingham Feb 15, 2024
82e6037
Temporarily disable the TestAddParsedCommand.py while I figure out
jimingham Feb 13, 2024
5fb3179
Used std::vector::reserve when I meant std::vector::resize.
jimingham Feb 14, 2024
e34444a
Temporarily skip this test for Python 3.9.
jimingham Feb 14, 2024
b5762a2
Move the parsed_cmd conversion def's to module level functions.
jimingham Feb 14, 2024
e926b61
[Sanitizers][ABI] Remove too strong assert in asan_abi_shim (#81696)
wrotki Feb 14, 2024
45caf80
[-Wunsafe-buffer-usage] Fixits for array args of func-ptr calls (#80358)
jkorous-apple Feb 15, 2024
4dbaf18
[-Wunsafe-buffer-usage] Add fixits for array to pointer assignment (#…
jkorous-apple Feb 15, 2024
a9767a1
Merge pull request #8193 from haoNoQ/static-analyzer-cherrypicks-2024-03
haoNoQ Feb 15, 2024
ff42eee
[analyzer] UncountedCallArgsChecker: Detect & ignore trivial function…
rniwa Feb 15, 2024
2418636
[analyzer] Teach scan-build to filter reports by file.
briannafan Feb 15, 2024
966aa32
Merge pull request #8120 from bnbarham/std-optional-all-the-things
bnbarham Feb 15, 2024
48dba33
Merge pull request #8194 from apple/asan_weaken_assert_for_arm64_32
wrotki Feb 15, 2024
0df1cf0
Merge pull request #8195 from jkorous-apple/cxx-safe-buffers/integrat…
shahmishal Feb 15, 2024
bb71067
[-Wunsafe-buffer-usage] Ignore constant safe indices in array subscri…
jkorous-apple Feb 15, 2024
5fe208d
Merge pull request #8196 from jkorous-apple/cxx-safe-buffers/integrat…
shahmishal Feb 15, 2024
24bd3dd
Merge pull request #8197 from jkorous-apple/cxx-safe-buffers/integrat…
shahmishal Feb 15, 2024
74205af
Add missing nullptr check
adrian-prantl Feb 15, 2024
6455007
Use const versions of accessors, which don't assert that files is non…
adrian-prantl Feb 15, 2024
f0d9769
enable disable part of tests
adrian-prantl Feb 15, 2024
afa76cb
Add the unittest ToSWIG for ExecutionContextRef.
jimingham Feb 15, 2024
0937081
Merge pull request #8198 from haoNoQ/static-analyzer-cherrypicks-2024-04
haoNoQ Feb 15, 2024
49a3341
Fix an assert failure with a funclet in a swifttailcc function.
hjyamauchi Feb 15, 2024
02a02cb
Merge pull request #8204 from jimingham/parsed-cmd-for-2030725
jimingham Feb 16, 2024
646ebd1
Handle rename of serialization status.
kavon Feb 16, 2024
5a83aa0
Merge pull request #8202 from adrian-prantl/nullptr
adrian-prantl Feb 16, 2024
60dd946
Merge pull request #8203 from adrian-prantl/118846313
adrian-prantl Feb 16, 2024
40dd1d0
Merge pull request #8207 from kavon/rename-serialization-status
kavon Feb 16, 2024
f07b931
[lldb][DataFormatter][NFC] Use GetFirstValueOfLibCXXCompressedPair th…
Michael137 Jan 31, 2024
7e34c60
[lldb][TypeSynthetic][NFC] Make SyntheticChildrenFrontend::Update() r…
Michael137 Feb 8, 2024
2cfde5a
[lldb][libc++] Adds valarray data formatters. (#80609)
mordante Feb 10, 2024
6c49618
[lldb][libc++] Adds chrono data formatters.
mordante Aug 29, 2023
390bdb8
[lldb][libc++] Adds some C++20 calendar data formatters. (#76983)
mordante Jan 9, 2024
6985135
[lldb][libc++] Adds missing C++20 calendar data formatters. (#77954)
mordante Jan 13, 2024
826a40d
[lldb][libc++] Adds system_clock data formatters. (#78609)
mordante Jan 22, 2024
45b3832
[lldb] Fix printf formatting of std::time_t seconds (#81078)
jasonmolenda Feb 8, 2024
7ad9b8a
[lldb][Swift][NFC] Adapt Swift formatters to new TypeSynthetic::Updat…
Michael137 Feb 15, 2024
70d7fe4
Merge pull request #8211 from hjyamauchi/devin-1045
compnerd Feb 16, 2024
c4000d8
Merge pull request #8190 from Michael137/lldb/libcxx-formatters-to-20…
Michael137 Feb 16, 2024
4fa1a34
[lldb][debugger][NFC] Add broadcast bit for category-based progress e…
chelcassanova Feb 16, 2024
9d5caed
[cherry-pick stable/20230725] [Sema] -Wzero-as-null-pointer-constant:…
zeux Oct 25, 2023
b5cc536
[-Wunsafe-bugger-usage] Clean tests: remove nondeterministic ordering
t-rasmud Sep 19, 2023
ad45284
[lldb][progress] Add progress manager class (#81319) (#8218)
chelcassanova Feb 16, 2024
bdc63a4
Merge branch 'stable/20230725' into jdevlieghere/symbol-locator
jasonmolenda Feb 17, 2024
9f1e7c4
Merge pull request #8223 from ian-twilightcoder/zero-as-null
ian-twilightcoder Feb 17, 2024
f74ee64
Merge pull request #8160 from apple/jdevlieghere/symbol-locator
jasonmolenda Feb 17, 2024
279b2d7
Merge pull request #8225 from jkorous-apple/cxx-safe-buffers/integrat…
jkorous-apple Feb 19, 2024
6119d0e
[clang][ExtractAPI] Ensure typedef to pointer types are preserved (#7…
daniel-grumberg Jan 22, 2024
92e5007
[-Wunsafe-buffer-usage] Fix fixits for span initialized from const si…
jkorous-apple Feb 16, 2024
4cefb29
[lldb][DWARFASTParserClang][NFC] Remove redundant parameter to AddMet…
Michael137 Nov 30, 2023
405141d
[ADT] Backport std::to_underlying from C++23 (#70681)
Endilll Oct 30, 2023
625a0c9
[Coro][WebAssembly] Add tail-call check for async lowering (#81481)
kateinoigakukun Feb 20, 2024
f121728
Add missing nulltpr check.
adrian-prantl Feb 20, 2024
02475cf
[WebAssembly] Add segment RETAIN flag to support private retained dat…
kateinoigakukun Feb 20, 2024
5408250
[DebugInfo] Emit spare bits mask in debug info
augusto2112 Feb 10, 2024
c56fd93
[DebugInfo] Add an specification_of attribute to LLVM DebugInfo
augusto2112 Feb 16, 2024
2fb73f1
Merge pull request #8238 from kateinoigakukun/yt/cherry-pick-no-strip…
kateinoigakukun Feb 21, 2024
3ffb6c4
Merge pull request #8173 from kateinoigakukun/yt/cherry-pick-wasm-cor…
kateinoigakukun Feb 21, 2024
c81e67c
Work around a bug in the interaction between newer dyld's and older s…
jimingham Jan 16, 2024
ed596e8
Ensure that the executable module is ModuleList[0] (#78360)
jimingham Jan 17, 2024
6c6589b
Add the Linux "you can use this binary" bits to run_to_source_breakpo…
jimingham Jan 17, 2024
5be181d
[lldb] Add support for multipayload enums lookup from DWARF
augusto2112 Feb 10, 2024
f22468b
SwiftExpressionParser: link swiftrt to liblldb on linux
eeckstein Feb 21, 2024
8904ba7
[lldb][NFC] Add an ImporterBackedASTSource that serves as base class …
Michael137 Feb 13, 2024
6b186f9
[lldb][TypeSystemClang][NFC] Make TemplateParamterInfos::pack_name a …
Michael137 Feb 13, 2024
fa12f64
[lldb][TypeSystemClang][NFC] Make TemplateParameterInfos copyable
Michael137 Feb 13, 2024
c79c9cc
[lldb][ClangASTImporter][NFCI] Implement CompleteTagDeclWithOrigin in…
Michael137 Feb 14, 2024
f6adaee
[lldb] Make TypeSystemClang work with redeclarations
Michael137 Feb 13, 2024
6b4c274
[lldb] Add typesystem.experimental.redecl-completion setting
Michael137 Jan 31, 2024
3a8d247
[clang][modules] Always let Obj-C decls query the ExternalASTSource f…
Michael137 Feb 14, 2024
3ddb1d6
[lldb][ASTUtils] Short-circuit multiplexed CompleteRedeclChain when w…
Michael137 Feb 14, 2024
a4ee6a9
[lldb][ClangASTImporter] Assert that we never overwrite a record layout
Michael137 Feb 14, 2024
1400e44
[lldb][ClangASTImporter][NFC] Factor completion logic out of ~Complet…
Michael137 Feb 14, 2024
4e1b128
[lldb][ClangASTImporter][NFCI] Factor setting external storage out of…
Michael137 Feb 14, 2024
bc1a466
[lldb][ClangASTSource] Use getDefinition() where appropriate
Michael137 Feb 15, 2024
27246c7
[lldb][ExpressionParser][NFC] Implement CompleteRedeclChain APIs
Michael137 Feb 15, 2024
0c17fe0
[lldb][ClangASTImporter][NFC] Factor out CanImport logic
Michael137 Feb 16, 2024
3f5ee9c
Merge pull request #8243 from augusto2112/spare-bits-spec
augusto2112 Feb 21, 2024
23f3e51
Merge pull request #8242 from jimingham/old-sim-for-stable
jimingham Feb 21, 2024
8648f73
[lldb] Skip TestExecutableFirst.test_executable_is_first_before_run o…
labath Jan 17, 2024
0335368
[lldb][TypeSystemClang][NFCI] Factor completion logic out of GetCompl…
Michael137 Feb 16, 2024
313a1af
[lldb][ClangASTImporter][NFC] Move ASTImproterDelegate constructor de…
Michael137 Feb 19, 2024
4032875
[clang][ASTImporter] Add support for LLDB's new type lookup mechanism
Michael137 Feb 19, 2024
66e12b4
[lldb][WIP] Use forward decls with redeclared definitions instead of …
Michael137 Feb 15, 2024
dea67aa
Merge pull request #8248 from jimingham/unreliable-exec-linux
jimingham Feb 22, 2024
c84491a
Merge pull request #8244 from eeckstein/add-swiftrt
eeckstein Feb 22, 2024
0261a39
Merge pull request #8222 from Michael137/lldb/type-completion-rework/…
Michael137 Feb 22, 2024
5cbf9e4
Adapt DebugTypeODRUniquingTest to new SpecificationOf attribute
augusto2112 Feb 22, 2024
36fa1e0
Fix "SpecificationOf" not being added as one of the Ops
augusto2112 Feb 22, 2024
903b63c
Merge pull request #8237 from adrian-prantl/123314546
adrian-prantl Feb 22, 2024
807f7ad
[lldb] Use __TEXT segment in embedded summary test (#8245)
kastiglione Feb 22, 2024
a35aefd
Revert "[CodeGen] Add public function to emit C++ constructor/destruc…
ahatanaka Feb 22, 2024
ef4c84b
[lldb] Fix term-width setting (#82736)
JDevlieghere Feb 23, 2024
6c1b15b
[lldb] Fix GetTerminalWidth after afd469023aad
JDevlieghere Feb 23, 2024
b618e0c
[lldb][test] XFAIL TestCppReferenceToOuterClass.py for now
Michael137 Feb 22, 2024
d62d3c1
[lldb][test] XFAIL TestDbgInfoContentDequeFromStdModule.py for redecl…
Michael137 Feb 22, 2024
6586a11
Merge pull request #8261 from apple/lldb/type-completion-rework/WIP/x…
Michael137 Feb 23, 2024
f250326
[lldb][test] XFAIL/skip more tests when plugin.typesystem.clang.exper…
Michael137 Feb 23, 2024
e023014
[lldb][test] Skip TestCppReferenceToOuterClass.py for now
Michael137 Feb 23, 2024
68f6f2f
Merge branch 'stable/20230725' into lldb/type-completion-rework/WIP/m…
Michael137 Feb 23, 2024
bf2b72a
Merge pull request #8250 from augusto2112/spec-of
augusto2112 Feb 23, 2024
f5bf0e4
[Clang][Test] Delete hardcoded version string from test (#80384)
usama54321 Feb 2, 2024
c158d64
Improve and modernize logging for Process::CompleteAttach() (#82717)
adrian-prantl Feb 23, 2024
0257505
Merge pull request #8269 from apple/lldb/type-completion-rework/WIP/m…
Michael137 Feb 24, 2024
ae8097a
Remove LLVM optional now that all references have been removed
bnbarham Feb 24, 2024
0a2d0d7
Remove makeArrayRef functions and references
bnbarham Feb 24, 2024
f39c292
[lldb] Fix the flakey Concurrent tests on macOS (#81710)
jasonmolenda Feb 14, 2024
1b02227
[lldb] Detect a Darwin kernel issue and work around it (#81573)
jasonmolenda Feb 14, 2024
471ed2b
[lldb] Correctly annotate threads at a bp site as hitting it (#82709)
jasonmolenda Feb 23, 2024
7dd93d0
Merge pull request #8274 from jasonmolenda/cp/fix-flakey-TestConcurre…
jasonmolenda Feb 24, 2024
8572172
[lldb][test] XFAIL/skip more tests when plugin.typesystem.clang.exper…
Michael137 Feb 24, 2024
c54e986
Merge pull request #8275 from apple/lldb/type-completion-rework/WIP/m…
Michael137 Feb 24, 2024
a7b2321
[AArch64] Add extra stp suppression tests.
fhahn Feb 16, 2024
461ff31
[AArch64] Fix resource length computation for STP. (#81749)
fhahn Feb 16, 2024
55c9123
Merge pull request #8276 from fhahn/aarch64-stp-suppress
fhahn Feb 25, 2024
424d773
[next][clang] Fix clang tests that use darwin features for Linux
benlangmuir Feb 12, 2024
6b8518a
Merge pull request #8272 from bnbarham/remove-optional-headers
bnbarham Feb 26, 2024
05b0a3c
Merge pull request #8271 from adrian-prantl/cherry-pick-stable-202307…
adrian-prantl Feb 26, 2024
e276a0f
Merge pull request #8268 from apple/jdevlieghere/rdar/123488999
JDevlieghere Feb 26, 2024
1a4abbd
[lldb] Create CMake target to automatically copy the static bindings …
bulbazord Feb 26, 2024
57570c1
[lldb] Modify the static binding copying script to account for unifie…
bulbazord Feb 26, 2024
f6ceb78
Replace ArchSpec::PiecewiseCompare() with Triple::operator==()
adrian-prantl Feb 23, 2024
2cc936c
Change debugserver to report the cpu(sub)type of process, not the host.
adrian-prantl Feb 25, 2024
078f710
Make the workaround for older debugserver versions more narrow.
adrian-prantl Feb 27, 2024
e491dde
Aim debugserver workaround more precisely.
adrian-prantl Feb 27, 2024
8aff003
[clang][include-tree] Fix spurious dependencies (#8266)
jansvoboda11 Feb 27, 2024
1a3436f
Merge pull request #8280 from adrian-prantl/123338218-725
adrian-prantl Feb 27, 2024
e27fdb1
Merge pull request #8281 from bulbazord/20230725/rdar106648169
bulbazord Feb 27, 2024
8dea05d
[clang][ScanDeps] Canonicalize -D and -U flags
Bigcheese Feb 17, 2024
c364c90
Merge pull request #8273 from bnbarham/remove-makearrayref
bnbarham Feb 28, 2024
4828180
Merge pull request #8231 from jkorous-apple/cxx-safe-buffers/integrat…
jkorous-apple Feb 28, 2024
7da3ee4
[-Wunsafe-buffer-usage][NFC] clang-format UnsafeBufferUsage.cpp (#82027)
jkorous-apple Feb 28, 2024
1259827
Merge pull request #8295 from jkorous-apple/cxx-safe-buffers/integrat…
jkorous-apple Feb 28, 2024
0defaba
Merge pull request #8279 from benlangmuir/fix-tests-stable
benlangmuir Feb 28, 2024
22782c4
[lldb] Add experimental setting for Swift explicit modules (#8291)
kastiglione Feb 28, 2024
69573cb
Make some SwiftLanguageRuntime logs HEALTH logs
adrian-prantl Feb 28, 2024
2aef748
Don't count all the frames just to skip the current inlined ones. (#8…
jimingham Feb 13, 2024
9de64ef
Fix interactive use of "command script add". (#83350)
jimingham Feb 29, 2024
e675dcf
Merge pull request #8304 from jimingham/interactive-csa
jimingham Feb 29, 2024
5083d68
Merge pull request #8301 from jimingham/dont-count-frames
jimingham Feb 29, 2024
55bdd99
[lldb][NFC] Move helpers to import record layout into ClangASTImporte…
Michael137 Feb 29, 2024
a444c28
[lldb][ClangASTImporter] Import record layouts from origin if availab…
Michael137 Feb 29, 2024
a19ef51
Merge pull request #8299 from adrian-prantl/healthlog
adrian-prantl Mar 1, 2024
718808e
Merge pull request #7544 from chelcassanova/find-load-address-refactor
JDevlieghere Mar 1, 2024
fe611d6
[Support] Use all_read | all_write for createTemporaryFile (#83360)
JDevlieghere Feb 29, 2024
aa5a99e
Merge pull request #8306 from Michael137/bugfix/lldb-origin-layout-tr…
Michael137 Mar 1, 2024
22e2a12
[lldb][ClangASTImporter] Fix mismerge in LayoutRecordType
Michael137 Mar 1, 2024
3e44914
Merge pull request #8311 from Michael137/bugfix/lldb-origin-layout-tr…
Michael137 Mar 1, 2024
5d7e964
[TBAA] Extract logic to use TBAA tag for field of !tbaa.struct (NFC).…
fhahn Feb 12, 2024
0cd7870
[InstCombine] Add memcpy test with !tbaa.struct with multiple fields.
fhahn Feb 9, 2024
897f940
[SROA] Add additional tests for splitting up ops with !tbaa.struct.
fhahn Feb 9, 2024
268147a
[SROA] Extend !tbaa.struct test coverage with multiple missing cases.
fhahn Feb 15, 2024
d7bf86f
[TBAA] Only clear TBAAStruct if field can be extracted. (#81285)
fhahn Feb 16, 2024
63acf28
[SROA] Use !tbaa instead of !tbaa.struct if op matches field. (#81289)
fhahn Feb 16, 2024
a00630c
[TBAA] Use !tbaa for first accessed field if it is an exact match in …
fhahn Feb 16, 2024
72b3d12
[TBAA] Test for tbaa.struct creation for struct with named bitfields.
fhahn Feb 25, 2024
8b4ab71
[TBAA] Add additional bitfield tests.
fhahn Feb 26, 2024
b60e76e
[TBAA] Add !tbaa.struct test with unnamed bitfields.
fhahn Feb 26, 2024
643bc6b
[TBAA] Handle bitfields when generating !tbaa.struct metadata. (#82922)
fhahn Feb 27, 2024
0a3a556
Merge pull request #8310 from apple/jdevlieghere/rdar/123722848
JDevlieghere Mar 1, 2024
052e2e7
[clang][ScanDeps] Disable header search and VFS opt when using includ…
Bigcheese Feb 16, 2024
2eabcea
[clang][ScanDeps] Allow PCHs to have different VFS overlays
Bigcheese Feb 16, 2024
09d12e9
[LV] Pre-committing tests for changing loop interleaving count comput…
nilanjana87 Nov 18, 2023
95997b3
[LV] Added pre-commit tests for changing loop interleaving count comp…
nilanjana87 Dec 12, 2023
6e8dc4a
[LV] Change loops' interleave count computation (#73766)
nilanjana87 Jan 4, 2024
60dae80
[lldb] Initialize SwiftASTContext with embedded swift feature
augusto2112 Feb 28, 2024
38e3f26
[Tests][LV][AArch64] Pre-commit tests for changing loop interleaving …
nilanjana87 Jan 29, 2024
0c62e58
[LV] Update interleaving count computation when scalar epilogue loop …
nilanjana87 Jan 29, 2024
96e59ec
[LV] Remove loop trip count threshold for deciding whether to interle…
nilanjana87 Feb 6, 2024
dcd3b01
[Tests][LoopDistribute] Fixes failing unit test (#80809)
nilanjana87 Feb 6, 2024
6ac65b9
[Tests][LoopDistribute] Re-adding target triple in a test (#82954)
nilanjana87 Feb 26, 2024
7fe2c56
[LV] Remove unused configuration option (#82955)
nilanjana87 Feb 28, 2024
1bf6b0e
[lldb][progress] Fix format string in title (#8314)
chelcassanova Mar 2, 2024
1632dd2
[lldb][progress][NFC] Fix Doxygen information (#83502) (#8315)
chelcassanova Mar 2, 2024
8e868d4
[lldb][progress] Hook up new broadcast bit and progress manager (#830…
chelcassanova Mar 2, 2024
48dc0c6
Merge pull request #8312 from fhahn/tbaa-struct-improvements
fhahn Mar 2, 2024
266d03f
Resolve two warnings related to doc comments.
tshortli Feb 29, 2024
2ef7ef1
Wrap some operators in #ifndef __swift__ guards.
tshortli Feb 29, 2024
0c7823c
Merge pull request #8308 from tshortli/resolve-warnings
tshortli Mar 3, 2024
0003846
[DSE] Delay deleting non-memory-defs until end of DSE. (#83411)
fhahn Mar 2, 2024
0660370
[lldb][PDB] Fix test build after plugin namespace change
DavidSpickett Oct 16, 2023
94b94c1
[lldb/Test] Fix oversight in ProcessEventDataTest::SetUp (NFC) (#83895)
medismailben Mar 4, 2024
5e14ea4
Merge pull request #8324 from compnerd/cpns
compnerd Mar 4, 2024
0ed9d59
Merge pull request #8329 from medismailben/fix-unittest
medismailben Mar 4, 2024
edc909b
[lldb/crashlog] Fix breaking changes in textual report format (#83861)
medismailben Mar 4, 2024
c68e10b
[Fix] Disable fdefine-target-os-macros for now
zixu-w Dec 8, 2023
c9355a2
Merge pull request #8334 from medismailben/stable/20230725
medismailben Mar 5, 2024
af3390e
[lldb] Replace -triple with --target= in clang extra args
kastiglione Mar 5, 2024
7fe0912
[lldb] Change swift-allow-explicit-modules setting default to true (#…
kastiglione Mar 5, 2024
3eedd76
[llvm][Support] Call clear_error in LockFileManager to avoid report_f…
Bigcheese Mar 2, 2024
46f35c9
Merge pull request #8323 from fhahn/dse-fix
fhahn Mar 5, 2024
c385bf3
Merge pull request #8320 from nilanjana87/loop_interleaving_changes_c…
nilanjana87 Mar 5, 2024
64e7610
Fix bug with -fcas-emit-casid-file during replay.
rastogishubham Mar 2, 2024
4c7038e
[TextAPI] add missing platforms for translating triples to tapi targe…
cyndyishida Mar 6, 2024
5b4d656
[RISCV] Hoist immediate addresses from loads/stores (#83644)
francisvm Mar 6, 2024
a7c0ddd
Merge pull request #8340 from rastogishubham/ReplayFixCASIDStable
rastogishubham Mar 6, 2024
fa4fca2
Merge pull request #8300 from augusto2112/expr-embedded-swift
augusto2112 Mar 6, 2024
acc560d
[clang] Diagnose config_macros before building modules
Bigcheese Mar 5, 2024
d85445d
[clang] Fix clang.ClangScanDeps.diagnostics.c
Bigcheese Mar 5, 2024
736f2dc
Merge pull request #8345 from francisvm/eng/PR-123275318
francisvm Mar 7, 2024
6e28871
[alpha.webkit.UncountedCallArgsChecker] Detect more trivial functions…
rniwa Feb 16, 2024
b6a9608
[alpha.webkit.UncountedCallArgsChecker] Allow ASSERT and atomic<T> op…
rniwa Feb 20, 2024
c78f875
[alpha.webkit.UncountedCallArgsChecker] Ignore calls to WTF's contain…
rniwa Feb 21, 2024
ca92d10
[Analyzer] Support RefAllowingPartiallyDestroyed and RefPtrAllowingPa…
rniwa Feb 21, 2024
a6e00bc
[alpha.webkit.UncountedCallArgsChecker] Allow a variable declaration …
rniwa Feb 28, 2024
a1824fb
[alpha.webkit.UncountedLocalVarsChecker] Allow uncounted object refer…
rniwa Mar 7, 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/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