Skip to content
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

Reapply " [XRay] Add support for instrumentation of DSOs on x86_64 (#90959)" #112930

Closed
wants to merge 391 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
391 commits
Select commit Hold shift + click to select a range
a18dd29
[ConstantFolding] Set signed/implicitTrunc when handling GEP offsets
nikic Oct 21, 2024
25b58c8
bazelbuild: fix for commit 2ce10 (#113142)
krasimirgg Oct 21, 2024
df02bcc
bazelbuild: fix for commit d80b9cf713fd (#113153)
krasimirgg Oct 21, 2024
c47df3e
[lldb][test] Make vector operator[] return T& to workaround Arm codeg…
DavidSpickett Oct 21, 2024
46dc91e
[SystemZ][z/OS] Add new openFileForReadBinary function, and pass IsTe…
abhina-sree Oct 21, 2024
17ac10c
Revert "[SLP]Initial non-power-of-2 support (but still whole register…
davemgreen Oct 21, 2024
22e21bc
[llvm][llvm-lit] Correct description of --use-unique-output-file-name
DavidSpickett Oct 21, 2024
6bac414
[RISCV][GISEL] Legalize G_INSERT_SUBVECTOR (#108859)
michaelmaitland Oct 21, 2024
08330db
[llvm][llvm-lit] Fix missing word in --use-unique-output-file-name help
DavidSpickett Oct 21, 2024
e26d907
[Reg2Mem] Add legacy pass wrapping Reg2Mem (#111024)
Keenuts Oct 21, 2024
89d8449
[ORC] Fix LLJIT's __cxa_atexit declaration for clang-repl. (#113141)
JonPsson1 Oct 21, 2024
ecfeacd
[AArch64] Convert aarch64_neon_sqxtn to ISD::TRUNCATE_SSAT_S and repl…
davemgreen Oct 21, 2024
c44860c
[Flang][OpenMP] Disable lowering of omp.simd reductions in composites…
skatrak Oct 21, 2024
5c9c281
[DebugInfo] Use heterogenous lookups with std::map (NFC) (#113118)
kazutakahirata Oct 21, 2024
61a286a
[tools] Don't call StringRef::str() when calling StringMap::find (NFC…
kazutakahirata Oct 21, 2024
1bf1e92
[lldb] Avoid repeated map lookups (NFC) (#113121)
kazutakahirata Oct 21, 2024
af6e188
[mlir] Avoid repeated map lookups (NFC) (#113122)
kazutakahirata Oct 21, 2024
e2074c6
[AArch64] Use implicitTrunc in isBitfieldDstMask() (NFC)
nikic Oct 21, 2024
f0312d9
[mlir][mlir-spirv-cpu-runner] Move MLIR pass pipeline to mlir-opt (#1…
andfau-amd Oct 21, 2024
f2302ed
[RISCV][GISEL] Fix operand on RISCV::G_VMV_V_V_VL
michaelmaitland Oct 21, 2024
bd861d0
[AArch64] Add some basic patterns for qshrn.
davemgreen Oct 21, 2024
1dfdbf7
[clang] Add covariance tests that make sure we return an error when r…
bricknerb Oct 21, 2024
67ff5ba
[AArch64] Add assembly/disaasembly of atomic ld/st (#112892)
Lukacma Oct 21, 2024
a2ba438
[InstCombine] Preserve the flag from RHS only if the `and` is bitwise…
XChy Oct 21, 2024
1e07c48
[rtsan][NFC] Rename *interceptors.cpp to *interceptors_posix.cpp (#11…
cjappl Oct 21, 2024
4679583
[LLVM][AArch64] Add register classes for Armv9.6 assembly (#111717)
SpencerAbson Oct 21, 2024
e730231
[mlir] Fix shared build. NFC
darkbuck Oct 21, 2024
17e9752
Revert "[mlir][mlir-spirv-cpu-runner] Move MLIR pass pipeline to mlir…
kuhar Oct 21, 2024
c5ca1b8
[PPC] Add custom lowering for uaddo (#110137)
syzaara Oct 21, 2024
900b636
[AIX][test] XFAIL constant folding log1p test
jakeegan Oct 21, 2024
120e42d
[MemProf] Improve metadata cleanup in LTO backend (#113039)
teresajohnson Oct 21, 2024
8417f6a
[win/asan] Fix instruction size for 44 0f b6 1a
zmodem Oct 21, 2024
42ba452
[NFC] Fix -WError for unused Encode/Decode ZK methods
SpencerAbson Oct 21, 2024
9e03920
[SLP]Ignore root gather node, when searching for reuses
alexey-bataev Oct 21, 2024
54c93aa
[SandboxVec][Legality] Scaffolding for Legality (#112623)
vporpo Oct 21, 2024
fc59f2c
[PowerPC] special case small int constant for custom scalar_to_vector…
RolandF77 Oct 21, 2024
f1e455e
[NFC][Sema][OpenMP] Fix free-nonheap-object warning (#112942)
jsji Oct 21, 2024
d4630ae
[Vectorize] Fix a warning
kazutakahirata Oct 21, 2024
006fb09
[gn build] Port 54c93aabec96
llvmgnsyncbot Oct 21, 2024
3277c7c
[AMDGPU] Skip VGPR deallocation for waveslot limited kernels (#112765)
rampitec Oct 21, 2024
ac9ee61
[acc] Improve LegalizeDataValues pass to handle data constructs (#112…
razvanlupusoru Oct 21, 2024
dcbf2c2
[Scalarizer][DirectX] support structs return types (#111569)
farzonl Oct 21, 2024
7eb8238
[TableGen] Handle Windows line endings in x86-fold-tables.td test (#1…
dpaoliello Oct 21, 2024
8ae39c8
[MC] Fix llvm-mc unterminated string constants warning for Windows (#…
dpaoliello Oct 21, 2024
766bd6f
[AMDGPU] Avoid repeated map lookups (NFC) (#112819)
kazutakahirata Oct 21, 2024
eaa7b38
[Transforms] Avoid repeated hash lookups (NFC) (#113120)
kazutakahirata Oct 21, 2024
30a4028
[lldb][NFC] Fix doxygen comment on top of GetMangledTypeName
augusto2112 Oct 21, 2024
ab07fc8
[mlir][bazel] add missing dep in OpenAccTransforms
yijia1212 Oct 21, 2024
2c331b3
[mlir][bazel] remove tab blank in OpenAccTransforms
yijia1212 Oct 21, 2024
4de708e
[lldb] Remove stack_logging.h (#112987)
JDevlieghere Oct 21, 2024
ed5072e
[NFC][lld-macho] Generate test bodies for icf-safe-thunk tests (#111927)
ellishg Oct 21, 2024
59528bb
[nfc][msan] Reorder flags in RUN: (#113196)
vitalybuka Oct 21, 2024
cafeacf
[nfc][msan] Remove RUN: duplicates (#113197)
vitalybuka Oct 21, 2024
7dc2542
[nfc][msan] Fix old typo in test (#113198)
vitalybuka Oct 21, 2024
f58ce11
[NFC][TableGen] Use auto when initializing variables with cast<> (#11…
jurahul Oct 21, 2024
e6ada71
[regalloc][basic] Change spill weight for optsize funcs (#112960)
ellishg Oct 21, 2024
40ea92c
[lldb] Update ScriptInterpreterTests for CommandReturnObject API change
JDevlieghere Oct 21, 2024
622e398
[AMDGPU] Allow overload of __builtin_amdgcn_mov/update_dpp (#112447)
rampitec Oct 21, 2024
4b1b51a
[SLP]Initial non-power-of-2 support (but still whole register) for re…
alexey-bataev Oct 18, 2024
dca43a1
[lld/Macho][test] Mark objc-category-merging-minimal.s as unsupported…
aeubanks Oct 21, 2024
009fb56
[AArch64] Add patterns for combining qxtn+rshr to qrshrn
davemgreen Oct 21, 2024
3903cb4
[bazel] Use rules_python load statements (#113213)
keith Oct 21, 2024
6e1a7ac
[llvm][x64] Mark win x64 SEH pseudo instruction as meta instructions …
dpaoliello Oct 21, 2024
b6e9ba0
[FMV][AArch64] Unify features memtag and memtag2. (#112511)
labrinea Oct 21, 2024
34d4f66
[mlir] Fix the emission of `prop-dict` when operations have no proper…
chelini Oct 21, 2024
28a2f57
[bazel] Pass --build_runfile_links=false (#113221)
keith Oct 21, 2024
9de0566
[NFC][TableGen] Delete unused class member (#113165)
jurahul Oct 21, 2024
74e1554
[lldb] Fix the sorting function for diagnostics (#113220)
adrian-prantl Oct 21, 2024
7b703bd
[lldb][docs] Fix "Developing LLDB" table of contents (#113166)
Michael137 Oct 21, 2024
9b7be3e
[ORC] skip reoptimization tests on s390x. (#112796)
tstellar Oct 21, 2024
6c4267f
[libcxx][libc] Hand in Hand PoC with from_chars (#91651)
michaelrj-google Oct 21, 2024
7a90ff7
[compiler-rt][profile] Use `flock` shim on Windows even if detection …
kateinoigakukun Oct 21, 2024
a26bc43
Fix CMake dependencies on mlir-linalg-ods-yaml-gen (#112224)
RoboTux Oct 21, 2024
3acc58c
Revert "Fix CMake dependencies on mlir-linalg-ods-yaml-gen" (#113229)
joker-eph Oct 21, 2024
d91318b
[SandboxVectorizer] New class to actually collect and manage seeds (#…
Sterling-Augustine Oct 21, 2024
6201bcc
[OpenCL] Add cl_ext_image_unorm_int_2_101010_EXT extension (#113145)
svenvh Oct 21, 2024
0de8de1
[SandboxVectorizer] revert New class to actually collect and manage s…
Sterling-Augustine Oct 21, 2024
c3fe0e4
[NFC][AMDGPU] clang-format `llvm/lib/Target/AMDGPU/SIISelLowering.cpp…
shiltian Oct 21, 2024
31dd03c
[Concepts] Add regression test for #99036 (#113137)
falbrechtskirchinger Oct 21, 2024
dac0f7e
[VPlan] Add general recipe matcher, replace handwritten ones (NFC)
fhahn Oct 21, 2024
23b18fa
[MTE] Do not allow local aliases to MTE globals (#106280)
fmayer Oct 22, 2024
7eb3264
[libc] Add handling for long double=double double (#113235)
michaelrj-google Oct 22, 2024
1295d2e
[LLVM] Add IRNormalizer Pass (#68176)
justinfargnoli Oct 22, 2024
b8930cd
Add a pass to collect dropped variable statistics (#102233)
rastogishubham Oct 22, 2024
2ce655c
[mlir][func] Fix multiple bugs in `DuplicateFunctionElimination` (#10…
CoTinker Oct 22, 2024
b5bcdb5
[clang-format] Fix a crash on C# `goto case` (#113056)
owenca Oct 22, 2024
1d9b322
[VPlan] Implement VPWidenSelectRecipe::computeCost.
fhahn Oct 22, 2024
a4819bd
[VPlan] Restore case accidentially dropped in 34cdd67c85.
fhahn Oct 22, 2024
b3edc76
[VPlan] Implement VPWidenCastRecipe::computeCost(). (NFCI) (#111339)
ElvisWang123 Oct 22, 2024
38fca7b
[Vectorize] Simplify code with DenseMap::operator[] (NFC) (#113246)
kazutakahirata Oct 22, 2024
2437784
[LV] Replace unreachable by folding into else with assert (NFC).
fhahn Oct 22, 2024
b90ea5c
[ConstantFold] Fold `erf` and `erff` when the input parameter is a co…
c8ef Oct 22, 2024
dc84337
[LLVM][AArch64]Add assembly/disassembly for compare-and-branch instr…
CarolineConcatto Oct 22, 2024
a4d6fe5
Reland "[llvm][ARM] Add Addend Checks for MOVT and MOVW instructions.…
Stylie777 Oct 22, 2024
5ee9c2c
[DebugInfo] Fix missing includes in two headers (#112766)
fsfod Oct 22, 2024
b735c66
Reland 'Update llvm::Registry to work for LLVM shared library builds …
fsfod Oct 22, 2024
69abfd3
[AMDGPU] Allow casts between the Global and Constant Addr Spaces in i…
ritter-x2a Oct 22, 2024
4614b80
[LoongArch] Pre-commit tests for merge base with large offset. NFC
heiher Oct 22, 2024
7305734
[clang] Allow class with anonymous union member to be const-default-c…
Rajveer100 Oct 22, 2024
0412d71
[llvm][doc] Fix return type of `vector.histogram` in LangRef examples…
MacDue Oct 22, 2024
9ae41c2
[clang][bytecode] Create dummy pointers for non-reference DeclRefExpr…
tbaederr Oct 22, 2024
2f58ac4
[libc][x86] copy one cache line at a time to prevent the use of `rep;…
gchatelet Oct 22, 2024
d15559d
[Clang] Don't assert on substituted-but-yet-expanded packs for nested…
zyn0217 Oct 22, 2024
f719cfa
LAA: be less conservative in isNoWrap (#112553)
artagnon Oct 22, 2024
d897ea3
LAA: check nusw on GEP in place of inbounds (#112223)
artagnon Oct 22, 2024
1e9a296
[Xtensa] Implement branch analysis. (#110959)
andreisfr Oct 22, 2024
c0c36aa
[clang codegen] fix crash emitting __array_rank (#113186)
HerrCai0907 Oct 22, 2024
6bb72de
[clang][NFC] Update cxx_dr_status.html
Endilll Oct 22, 2024
83c6e2f
Revert "[LLVM][AArch64]Add assembly/disassembly for compare-and-branc…
CarolineConcatto Oct 22, 2024
9380281
[NewPM][CodeGen] Port VirtRegMap to NPM (#109936)
optimisan Oct 22, 2024
834b820
[AMDGPU] Correct pass dependencies for SILowerSGPRSpills (#109937)
optimisan Oct 22, 2024
75ec65e
[CodeGen] LiveIntervalUnions::Array Implement move constructor (#111…
optimisan Oct 22, 2024
4e32d72
[NewPM][CodeGen] Port LiveRegMatrix to NPM (#109938)
optimisan Oct 22, 2024
f8cb526
[AMDGPU] Add tests for SIPreAllocateWWMRegs (#109963)
optimisan Oct 22, 2024
ca32bd6
[NewPM][AMDGPU] Port SIPreAllocateWWMRegs to NPM (#109939)
optimisan Oct 22, 2024
e7f1dae
[AMDGPU] gfx1152 does not have Feature1_5xVGPRs (#113163)
jayfoad Oct 22, 2024
11c8188
[AArch64] Improve index selection for histograms (#111150)
JamesChesterman Oct 22, 2024
aea60ab
[clang-format] Make bitwise and imply requires clause (#110942)
rymiel Oct 22, 2024
6e0b003
[clang][OpenCL][CodeGen][AMDGPU] Do not use `private` as the default …
AlexVlx Oct 22, 2024
b3acb25
[AMDGPU] Don't rely on !eq comparing int with bits<5>. NFC. (#113279)
jayfoad Oct 22, 2024
cd290a6
[Doc] Update a broken link in CompileCudaWithLLVM (#113282)
lifengxiang1025 Oct 22, 2024
f1ade1f
[LLVM][CodeGen][AArch64] while_le(#,max_int) -> all_active (#111183)
paulwalker-arm Oct 22, 2024
deecfa9
bazelbuild: adapt for commit b735c66da9 (#113302)
krasimirgg Oct 22, 2024
a6d6c00
[clang] Lifetimebound in assignment operator should work for non-gsl …
hokein Oct 22, 2024
91c1157
Revert "[MLIR] Make `OneShotModuleBufferize` use `OpInterface` (#1103…
banach-space Oct 22, 2024
56f75b5
Fix the broken test
hokein Oct 22, 2024
5bb3480
[NFC] Migrate tests to use autoupdate for CHECK lines.
paulwalker-arm Oct 18, 2024
c623df3
[libc++] Fix typo in is_always_lock_free test (#113169)
ldionne Oct 22, 2024
d6e714b
[libc++] Rewrite the transitive header checking machinery (#110554)
ldionne Oct 22, 2024
b81d8e9
[NFC][Clang] Fix enumerated mismatch warning (#112816)
jsji Oct 22, 2024
6761b24
[clang][dataflow] Cache accessors for bugprone-unchecked-optional-acc…
jvoung Oct 22, 2024
6512a8d
[SystemZ] Split SystemZInstPrinter to two classes based on Asm dialec…
tltao Oct 22, 2024
4275a73
[libc] Fix long double is double double const (#113258)
michaelrj-google Oct 22, 2024
4c697f7
[LowerMemIntrinsics] Use i8 GEPs in memcpy/memmove lowering (#112707)
ritter-x2a Oct 22, 2024
1004865
[mlir][Vector] Support 0-d vectors natively in TransferOpReduceRank (…
Groverkss Oct 22, 2024
ac1a01f
Reland [CFIFixup] Factor CFI remember/restore insertion into a helper…
dhoekwater Oct 22, 2024
da66f6a
[llvm-jitlink] Use heterogenous lookups with std::map (NFC) (#113245)
kazutakahirata Oct 22, 2024
0690a42
[BPF] Avoid repeated map lookups (NFC) (#113247)
kazutakahirata Oct 22, 2024
5dbfb49
[lldb] Avoid repeated hash lookups (NFC) (#113248)
kazutakahirata Oct 22, 2024
c5ea7b8
[mlir] Avoid repeated hash lookups (NFC) (#113249)
kazutakahirata Oct 22, 2024
d8d144a
[LLVM][AArch64] Add assembly/disassembly of SVE BFSCALE instruction (…
Lukacma Oct 22, 2024
a18826d
[AMDGPU] Create local KnownBits in case DenseMap gets invalidated (#1…
JanekvO Oct 22, 2024
6e535a9
[LLVM][MC][AArch64] Assembler support for Armv9.6-A memory systems ex…
nasherm Oct 22, 2024
5942be0
[lldb][test] Fix TestUseSourceCache for readonly source trees (#113251)
rupprecht Oct 22, 2024
40c3e58
[KnownBits] Check that mul is optimal for low order bits (#113316)
jayfoad Oct 22, 2024
8bbd079
[clang] Allocate `Module` instances in `BumpPtrAllocator` (#112795)
jansvoboda11 Oct 22, 2024
db21bd4
[ORC] Move EPC load-dylib and lookup operations into their own class.
lhames Oct 18, 2024
cd4b33c
[lldb] Log errors to the system log if they would otherwise get dropp…
JDevlieghere Oct 22, 2024
41365dc
[ORC] Add missing DylibManager header.
lhames Oct 22, 2024
2074de2
[clang][HIP] Don't use the OpenCLKernel CC when targeting AMDGCNSPIRV…
AlexVlx Oct 22, 2024
b263a71
[libc++] Refactor vector constructors to eliminate code duplication (…
winner245 Oct 22, 2024
53a8a7c
[ORC] Fix typo in include guard comment.
lhames Oct 22, 2024
470a599
[ORC] Move MachO object format details into their own header (NFC).
lhames Oct 22, 2024
dc5c044
Add verification support for .debug_names with foreign type units. (#…
clayborg Oct 22, 2024
91fd1b4
[HIP] Always add -fnative-half-arguments-and-returns cmdline option. …
cdevadas Oct 22, 2024
2ccbea1
[dsymutil] Share one BinaryHolder between debug map parsing & linking…
JDevlieghere Oct 22, 2024
5886454
[dsymutil] Provide an option to ignore object timestamp mismatches (#…
JDevlieghere Oct 22, 2024
f66bc4d
Revert "Reland [CFIFixup] Factor CFI remember/restore insertion into …
dhoekwater Oct 22, 2024
2fdf49d
[llvm-rc] Handle Windows line endings in tag-html test (#113000)
dpaoliello Oct 22, 2024
7b308b1
Fix bitcasting E8M0 APFloat to APInt (#113298)
sergey-kozub Oct 22, 2024
6803062
[BOLT] Fix a build failure
kazutakahirata Oct 22, 2024
2cbe7c2
[gn build] Port 1295d2e6da2f
aeubanks Oct 22, 2024
c08a5c1
[gn build] Port 470a59919207
aeubanks Oct 22, 2024
24293e6
[gn build] Port 6512a8dd8c0a
aeubanks Oct 22, 2024
50df49e
[gn build] Port 6c4267fb1779
aeubanks Oct 22, 2024
62cb1a3
[gn build] Port b8930cd13d48
aeubanks Oct 22, 2024
0764e55
[lld][WebAssembly] Improve -v/-V/--version flag compat (#113204)
sbc100 Oct 22, 2024
383bd05
[docs] Add link to newest CoC transparency report
kbeyls Oct 22, 2024
9b9c2a0
[RISCV][NFC] Move RISCVISD::TAIL beside RISCVISD::CALL
lenary Oct 22, 2024
9edb4f7
Define CLANG_ABI and LLVM_ABI for z/OS (#113333)
muiez Oct 22, 2024
8536c2e
[clang][NFC] Move `concepts::createSubstDiagAt` from AST to Sema (#11…
Endilll Oct 22, 2024
1b0fcf1
[clang-tidy][NFC] Replace usages of `DeclSpec::TQ` with `Qualifiers::…
Endilll Oct 22, 2024
e575483
[ORC] Fix LLJITWithRemoteDebugging example after db21bd4fa9b.
lhames Oct 22, 2024
06d1929
[PowerPC] Expand global named register support (#112603)
lei137 Oct 22, 2024
78e026f
[RISCV][NFC] Document F64 ISD Nodes
lenary Oct 22, 2024
00b47b9
[NFC] Fix missplaced comment
andjo403 Oct 22, 2024
7191ced
[MLIR] Add folding constants canonicalization for mlir::index::AddOp.…
weiweichen Oct 22, 2024
cc4926a
[flang][cuda] Fix module registration (#113358)
clementval Oct 22, 2024
03fef62
[AMDGPU] Relax __builtin_amdgcn_update_dpp sema check (#113341)
rampitec Oct 22, 2024
54cf62d
[nfc][msan] Generate test with update_test_checks.py (#113199)
vitalybuka Oct 22, 2024
395093e
[msan] Switch to -msan-handle-icmp-exact my default (#113200)
vitalybuka Oct 22, 2024
f1e59dc
Renaming Cuf passes to CUF (#113351)
Renaud-K Oct 22, 2024
020fa86
[NVPTX] mangle symbols in debug info to conform to PTX restrictions. …
Artem-B Oct 22, 2024
c3aa8b7
Revert "[msan] Switch to -msan-handle-icmp-exact my default" (#113376)
vitalybuka Oct 22, 2024
71792dc
[NFC][msan] Workaround arg evaluation order diff GCC vs Clang (#113378)
vitalybuka Oct 22, 2024
5c92f23
[WebAssembly] Fix MIR printing of reference types (#113028)
aheejin Oct 22, 2024
c77d8ed
Revert "Revert "[msan] Switch to -msan-handle-icmp-exact my default""…
vitalybuka Oct 22, 2024
a8d506b
[flang][OpenMP] Rename enum OmpxHold to Ompx_Hold in parser (#113366)
kparzysz Oct 22, 2024
519eef3
[mlir][tosa] Add a verifier for `tosa.mul` (#113320)
CoTinker Oct 22, 2024
d985197
[NFC][Fuzzer] Refactor to avoid a false warning from gcc (#112944)
jsji Oct 22, 2024
0ffa29f
[clang][modules] Timestamp PCM files when writing (#112452)
jansvoboda11 Oct 22, 2024
fe480cf
[ARM] Use proper types for these records. (#113370)
jofrn Oct 22, 2024
2e0506f
[NFC] [MTE] Remove useless yaml2obj from test (#113374)
fmayer Oct 22, 2024
b4fcaa1
[PGO][SampledInstr] Correct off by 1s and allow 100% sampling (#113350)
mofarrell Oct 22, 2024
8a12e01
Revert "[LLVM] Add IRNormalizer Pass" (#113392)
justinfargnoli Oct 22, 2024
10f0c1a
[PGO] Ensure non-zero entry-count after `populateCounters` (#112029)
mofarrell Oct 22, 2024
4334f31
[TBAA] Extend pointer TBAA to pointers of non-builtin types. (#110569)
fhahn Oct 22, 2024
9b98455
[HLSL][NFC] Move IsIntangibleType from SemaHLSL to Type to make it ac…
hekota Oct 22, 2024
4c1b1f6
[NVPTX] Add support for clamped funnel shift intrinsics (#113228)
AlexMaclean Oct 22, 2024
8234f8a
[DebugInfo] Emit linkage name into DWARF for types for Swift (#112802)
augusto2112 Oct 22, 2024
0fbf91a
[clang-tidy] Fix cppcoreguidelines-pro-type-union-access if memLoc is…
ksromanov Oct 23, 2024
bd6c430
[clang codegen] avoid to crash when emit init func for global variabl…
HerrCai0907 Oct 23, 2024
645e6f1
[llvm][OpenMP] Handle complex types in atomic read (#111377)
NimishMishra Oct 23, 2024
b69ac31
[clang-format] Use RemoveEmptyLinesInUnwrappedLines in clang-format s…
owenca Oct 23, 2024
d005be3
[clang-format] Handle C# `goto case` constructs (#113257)
owenca Oct 23, 2024
9e3d465
[X86] Update Model value for Arrow Lake. (#113273)
FreddyLeaf Oct 23, 2024
49ebe32
[X86] combineAndNotOrIntoAndNotAnd - don't fold other constant operan…
Saldivarcher Oct 23, 2024
1cbc015
[flang][OpenMP] Error out when CHARACTER type is used in atomic const…
NimishMishra Oct 23, 2024
2a25200
[mlir][tensor] Restrict the verifier for tensor.pack/tensor.unpack (#…
banach-space Oct 23, 2024
3b9526b
[TOSA] bug fix infer shape for slice (#108306)
Tai78641 Oct 23, 2024
b39760c
[flang][NFC] Fix failing atomic tests
NimishMishra Oct 23, 2024
ddbb382
[LV] Regenerate check-lines for some tests.
fhahn Oct 23, 2024
8ad8db9
Revert "[TOSA] bug fix infer shape for slice" (#113413)
GeorgeARM Oct 23, 2024
20c5983
[Bazel][SystemZ] Update for #112975
chapuni Oct 23, 2024
46ad7ff
[clang][bytecode] Diagnose non-const initialiers in diagnoseUnknownDe…
tbaederr Oct 23, 2024
076aac5
[AMDGPU] Add a new target for gfx1153 (#113138)
perlfu Oct 23, 2024
076d3e2
[mlir][ods] Verify access to operands in inferReturnTypes (#112574)
npanchen Oct 23, 2024
2c3d7d5
[libc++] <experimental/simd> Add unary operators for class simd (#104…
joy2myself Oct 23, 2024
affb2b7
[LoongArch][MC] Handle more PseudoLA* instructions with la-global-wit…
wangleiat Oct 23, 2024
deb22fa
[ADT] Fix ArrayRef<T>::slice (#113048)
FLZ101 Oct 23, 2024
9afcdaa
[MCParser] De-capitalize ELFAsmParser functions. NFC
MaskRay Oct 23, 2024
100720c
[libc] Use `if constexpr` for compile-time conditionals (#113417)
frobtech Oct 23, 2024
848bc1c
Fix GetRandom in sanitizer_fuchsia.cpp (#110155)
mvanotti Oct 23, 2024
0cb80c4
[AMDGPU] Avoid repeated hash lookups (NFC) (#113409)
kazutakahirata Oct 23, 2024
b799cc3
[RISCV] Add lowering for @llvm.experimental.vector.compress (#113291)
wangpc-pp Oct 23, 2024
ae618d3
[MC] Remove unused getMemtagRelocsSection
MaskRay Oct 23, 2024
5b9c76b
[LoongArch] Support LoongArch-specific amswap[_db].{b/h} and amadd[_d…
tangaac Oct 23, 2024
c6931c2
[FuncSpec] Only compute Latency bonus when necessary (#113159)
hazzlim Oct 23, 2024
dd76d9b
[llvm][ARM] Correct the properties of trap instructions (#113287)
DavidSpickett Oct 23, 2024
6eb93d0
[RISCV][MC] Support imm symbol in parseCSRSystemRegister (#112007)
zqb-all Oct 23, 2024
684c26c
[analyzer] Remove redundant "returned to caller" suffix for compound …
z1nke Oct 23, 2024
27158ed
[MLIR][SPIRV] Update cast from IntN to Bool (#113329)
d-smirnov Oct 23, 2024
ad70f3e
[flang][OpenMP] Support `target enter|update|exit .. nowait` (#113305)
ergawy Oct 23, 2024
dfc4065
[llvm][docs] Clean up the "Landing Your Change" section of the GitHub…
DavidSpickett Oct 23, 2024
ac5a201
[PS5][Driver] Pass default -z options to PS5 linker (#113162)
playstation-edd Oct 23, 2024
d89c1db
[flang][hlfir] refine hlfir.assign side effects (#113319)
jeanPerier Oct 23, 2024
03cef62
[flang][NFC] turn (h)fir.declare side effect into debug ressource all…
jeanPerier Oct 23, 2024
a59f712
[flang][hlfir] do not consider local temps as conflicting in assignme…
jeanPerier Oct 23, 2024
2c5208a
[LLVM][AARCH64] Add assembly/disassembly of zeroing convert instructi…
Lukacma Oct 23, 2024
9b88792
[LLD][COFF] Allow overriding EC alias symbols with lazy archive symbo…
cjacek Oct 23, 2024
7ab6d39
[LLVM][CMake][MSVC] Wrap linker flags for ICX on Windows (#112680)
Maetveis Oct 23, 2024
98bc529
[LLD][COFF] Check both mangled and demangled symbols before adding a …
cjacek Oct 23, 2024
699ce16
[lldb] Fix crash missing MSInheritanceAttr with DWARF on Windows (#11…
weliveindetail Oct 23, 2024
c4c60c0
[CodeGen][NewPM] Port OptimizePHIs to NPM (#113433)
optimisan Oct 23, 2024
401d123
[MCP] Optimize copies when src is used during backward propagation (#…
vladimirradosavljevic Oct 23, 2024
16814e8
[XRay] Add DSO support for XRay instrumentation on X86_64
sebastiankreutzer Oct 26, 2023
53d3bc8
fixup! [XRay] Add DSO support for XRay instrumentation on X86_64
Oct 18, 2024
b1b6006
fixup! [XRay] Add DSO support for XRay instrumentation on X86_64
Oct 18, 2024
fdd3ba7
fixup! [XRay] Add DSO support for XRay instrumentation on X86_64
sebastiankreutzer Oct 24, 2024
d4af5f7
fixup! [XRay] Add DSO support for XRay instrumentation on X86_64
sebastiankreutzer Oct 24, 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
  •  
  •  
  •  
7 changes: 0 additions & 7 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
# Checkout as native, commit as LF except in specific circumstances
* text=auto
*.bat text eol=crlf
*.rc text eol=crlf
*.sln text eol=crlf
*.natvis text eol=crlf

libcxx/src/**/*.cpp merge=libcxx-reformat
libcxx/include/**/*.h merge=libcxx-reformat

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM docker.io/library/ubuntu:22.04 as base
ENV LLVM_SYSROOT=/opt/llvm

FROM base as stage1-toolchain
ENV LLVM_VERSION=18.1.8
ENV LLVM_VERSION=19.1.2

RUN apt-get update && \
apt-get install -y \
Expand Down
3 changes: 1 addition & 2 deletions bolt/lib/Core/DIEBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,7 @@ void DIEBuilder::buildTypeUnits(DebugStrOffsetsWriter *StrOffsetWriter,
for (auto &Row : TUIndex.getRows()) {
uint64_t Signature = Row.getSignature();
// manually populate TypeUnit to UnitVector
DwarfContext->getTypeUnitForHash(DwarfContext->getMaxVersion(), Signature,
true);
DwarfContext->getTypeUnitForHash(Signature, true);
}
}
const unsigned int CUNum = getCUNum(DwarfContext, isDWO());
Expand Down
4 changes: 4 additions & 0 deletions clang-tools-extra/clang-doc/Generators.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,8 @@ std::string getTagType(TagTypeKind AS);
} // namespace doc
} // namespace clang

namespace llvm {
extern template class Registry<clang::doc::Generator>;
} // namespace llvm

#endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_DOC_GENERATOR_H
4 changes: 4 additions & 0 deletions clang-tools-extra/clang-tidy/ClangTidyModuleRegistry.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,8 @@ using ClangTidyModuleRegistry = llvm::Registry<ClangTidyModule>;

} // namespace clang::tidy

namespace llvm {
extern template class Registry<clang::tidy::ClangTidyModule>;
} // namespace llvm

#endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_CLANGTIDYMODULEREGISTRY_H
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@ void ProTypeUnionAccessCheck::registerMatchers(MatchFinder *Finder) {

void ProTypeUnionAccessCheck::check(const MatchFinder::MatchResult &Result) {
const auto *Matched = Result.Nodes.getNodeAs<MemberExpr>("expr");
diag(Matched->getMemberLoc(),
"do not access members of unions; use (boost::)variant instead");
SourceLocation Loc = Matched->getMemberLoc();
if (Loc.isInvalid())
Loc = Matched->getBeginLoc();
diag(Loc, "do not access members of unions; consider using (boost::)variant "
"instead");
}

} // namespace clang::tidy::cppcoreguidelines
10 changes: 5 additions & 5 deletions clang-tools-extra/clang-tidy/misc/ConstCorrectnessCheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,25 +172,25 @@ void ConstCorrectnessCheck::check(const MatchFinder::MatchResult &Result) {

using namespace utils::fixit;
if (VC == VariableCategory::Value && TransformValues) {
Diag << addQualifierToVarDecl(*Variable, *Result.Context,
DeclSpec::TQ_const, QualifierTarget::Value,
Diag << addQualifierToVarDecl(*Variable, *Result.Context, Qualifiers::Const,
QualifierTarget::Value,
QualifierPolicy::Right);
// FIXME: Add '{}' for default initialization if no user-defined default
// constructor exists and there is no initializer.
return;
}

if (VC == VariableCategory::Reference && TransformReferences) {
Diag << addQualifierToVarDecl(*Variable, *Result.Context,
DeclSpec::TQ_const, QualifierTarget::Value,
Diag << addQualifierToVarDecl(*Variable, *Result.Context, Qualifiers::Const,
QualifierTarget::Value,
QualifierPolicy::Right);
return;
}

if (VC == VariableCategory::Pointer) {
if (WarnPointersAsValues && TransformPointersAsValues) {
Diag << addQualifierToVarDecl(*Variable, *Result.Context,
DeclSpec::TQ_const, QualifierTarget::Value,
Qualifiers::Const, QualifierTarget::Value,
QualifierPolicy::Right);
}
return;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ bool ForRangeCopyCheck::handleConstValueCopy(const VarDecl &LoopVar,
<< utils::fixit::changeVarDeclToReference(LoopVar, Context);
if (!LoopVar.getType().isConstQualified()) {
if (std::optional<FixItHint> Fix = utils::fixit::addQualifierToVarDecl(
LoopVar, Context, DeclSpec::TQ::TQ_const))
LoopVar, Context, Qualifiers::Const))
Diagnostic << *Fix;
}
return true;
Expand Down Expand Up @@ -129,7 +129,7 @@ bool ForRangeCopyCheck::handleCopyIsOnlyConstReferenced(
"making it a const reference");

if (std::optional<FixItHint> Fix = utils::fixit::addQualifierToVarDecl(
LoopVar, Context, DeclSpec::TQ::TQ_const))
LoopVar, Context, Qualifiers::Const))
Diag << *Fix << utils::fixit::changeVarDeclToReference(LoopVar, Context);

return true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ void recordFixes(const VarDecl &Var, ASTContext &Context,
Diagnostic << utils::fixit::changeVarDeclToReference(Var, Context);
if (!Var.getType().isLocalConstQualified()) {
if (std::optional<FixItHint> Fix = utils::fixit::addQualifierToVarDecl(
Var, Context, DeclSpec::TQ::TQ_const))
Var, Context, Qualifiers::Const))
Diagnostic << *Fix;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ void UnnecessaryValueParamCheck::handleConstRefFix(const FunctionDecl &Function,
// declaration.
if (!CurrentParam.getType().getCanonicalType().isConstQualified()) {
if (std::optional<FixItHint> Fix = utils::fixit::addQualifierToVarDecl(
CurrentParam, Context, DeclSpec::TQ::TQ_const))
CurrentParam, Context, Qualifiers::Const))
Diag << *Fix;
}
}
Expand Down
19 changes: 11 additions & 8 deletions clang-tools-extra/clang-tidy/utils/FixItHintUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include "clang/AST/ASTContext.h"
#include "clang/AST/ExprCXX.h"
#include "clang/AST/Type.h"
#include "clang/Sema/DeclSpec.h"
#include "clang/Tooling/FixIt.h"
#include <optional>

Expand Down Expand Up @@ -71,15 +72,17 @@ static std::optional<FixItHint> fixIfNotDangerous(SourceLocation Loc,

// Build a string that can be emitted as FixIt with either a space in before
// or after the qualifier, either ' const' or 'const '.
static std::string buildQualifier(DeclSpec::TQ Qualifier,
static std::string buildQualifier(Qualifiers::TQ Qualifier,
bool WhitespaceBefore = false) {
if (WhitespaceBefore)
return (llvm::Twine(' ') + DeclSpec::getSpecifierName(Qualifier)).str();
return (llvm::Twine(DeclSpec::getSpecifierName(Qualifier)) + " ").str();
return (llvm::Twine(' ') + Qualifiers::fromCVRMask(Qualifier).getAsString())
.str();
return (llvm::Twine(Qualifiers::fromCVRMask(Qualifier).getAsString()) + " ")
.str();
}

static std::optional<FixItHint> changeValue(const VarDecl &Var,
DeclSpec::TQ Qualifier,
Qualifiers::TQ Qualifier,
QualifierTarget QualTarget,
QualifierPolicy QualPolicy,
const ASTContext &Context) {
Expand All @@ -99,7 +102,7 @@ static std::optional<FixItHint> changeValue(const VarDecl &Var,
}

static std::optional<FixItHint> changePointerItself(const VarDecl &Var,
DeclSpec::TQ Qualifier,
Qualifiers::TQ Qualifier,
const ASTContext &Context) {
if (locDangerous(Var.getLocation()))
return std::nullopt;
Expand All @@ -112,7 +115,7 @@ static std::optional<FixItHint> changePointerItself(const VarDecl &Var,
}

static std::optional<FixItHint>
changePointer(const VarDecl &Var, DeclSpec::TQ Qualifier, const Type *Pointee,
changePointer(const VarDecl &Var, Qualifiers::TQ Qualifier, const Type *Pointee,
QualifierTarget QualTarget, QualifierPolicy QualPolicy,
const ASTContext &Context) {
// The pointer itself shall be marked as `const`. This is always to the right
Expand Down Expand Up @@ -163,7 +166,7 @@ changePointer(const VarDecl &Var, DeclSpec::TQ Qualifier, const Type *Pointee,
}

static std::optional<FixItHint>
changeReferencee(const VarDecl &Var, DeclSpec::TQ Qualifier, QualType Pointee,
changeReferencee(const VarDecl &Var, Qualifiers::TQ Qualifier, QualType Pointee,
QualifierTarget QualTarget, QualifierPolicy QualPolicy,
const ASTContext &Context) {
if (QualPolicy == QualifierPolicy::Left && isValueType(Pointee))
Expand All @@ -183,7 +186,7 @@ changeReferencee(const VarDecl &Var, DeclSpec::TQ Qualifier, QualType Pointee,

std::optional<FixItHint> addQualifierToVarDecl(const VarDecl &Var,
const ASTContext &Context,
DeclSpec::TQ Qualifier,
Qualifiers::TQ Qualifier,
QualifierTarget QualTarget,
QualifierPolicy QualPolicy) {
assert((QualPolicy == QualifierPolicy::Left ||
Expand Down
4 changes: 2 additions & 2 deletions clang-tools-extra/clang-tidy/utils/FixItHintUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#include "clang/AST/ASTContext.h"
#include "clang/AST/Decl.h"
#include "clang/Sema/DeclSpec.h"
#include "clang/AST/Type.h"
#include <optional>

namespace clang::tidy::utils::fixit {
Expand Down Expand Up @@ -41,7 +41,7 @@ enum class QualifierTarget {
/// Requires that `Var` is isolated in written code like in `int foo = 42;`.
std::optional<FixItHint>
addQualifierToVarDecl(const VarDecl &Var, const ASTContext &Context,
DeclSpec::TQ Qualifier,
Qualifiers::TQ Qualifier,
QualifierTarget QualTarget = QualifierTarget::Pointee,
QualifierPolicy QualPolicy = QualifierPolicy::Left);

Expand Down
1 change: 1 addition & 0 deletions clang-tools-extra/clangd/Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ struct Config {
bool DeducedTypes = true;
bool Designators = true;
bool BlockEnd = false;
bool DefaultArguments = false;
// Limit the length of type names in inlay hints. (0 means no limit)
uint32_t TypeNameLimit = 32;
} InlayHints;
Expand Down
6 changes: 5 additions & 1 deletion clang-tools-extra/clangd/ConfigCompile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
#include "llvm/Support/Regex.h"
#include "llvm/Support/SMLoc.h"
#include "llvm/Support/SourceMgr.h"
#include <algorithm>
#include <memory>
#include <optional>
#include <string>
Expand Down Expand Up @@ -669,6 +668,11 @@ struct FragmentCompiler {
Out.Apply.push_back([Value(**F.BlockEnd)](const Params &, Config &C) {
C.InlayHints.BlockEnd = Value;
});
if (F.DefaultArguments)
Out.Apply.push_back(
[Value(**F.DefaultArguments)](const Params &, Config &C) {
C.InlayHints.DefaultArguments = Value;
});
if (F.TypeNameLimit)
Out.Apply.push_back(
[Value(**F.TypeNameLimit)](const Params &, Config &C) {
Expand Down
3 changes: 3 additions & 0 deletions clang-tools-extra/clangd/ConfigFragment.h
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,9 @@ struct Fragment {
std::optional<Located<bool>> Designators;
/// Show defined symbol names at the end of a definition block.
std::optional<Located<bool>> BlockEnd;
/// Show parameter names and default values of default arguments after all
/// of the explicit arguments.
std::optional<Located<bool>> DefaultArguments;
/// Limit the length of type name hints. (0 means no limit)
std::optional<Located<uint32_t>> TypeNameLimit;
};
Expand Down
5 changes: 4 additions & 1 deletion clang-tools-extra/clangd/ConfigYAML.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include "llvm/Support/YAMLParser.h"
#include <optional>
#include <string>
#include <system_error>

namespace clang {
namespace clangd {
Expand Down Expand Up @@ -268,6 +267,10 @@ class Parser {
if (auto Value = boolValue(N, "BlockEnd"))
F.BlockEnd = *Value;
});
Dict.handle("DefaultArguments", [&](Node &N) {
if (auto Value = boolValue(N, "DefaultArguments"))
F.DefaultArguments = *Value;
});
Dict.handle("TypeNameLimit", [&](Node &N) {
if (auto Value = uint32Value(N, "TypeNameLimit"))
F.TypeNameLimit = *Value;
Expand Down
Loading
Loading