Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
748e7af
[flang][OpenMP] Fix firstprivate not working with lastprivate in DO S…
KrxGu Dec 9, 2025
b0bd8bd
[AtomicExpand] Use getSigned() for negative value
nikic Dec 9, 2025
80fc9bc
[Hexagon] Use getSigned() for signed value
nikic Dec 9, 2025
cf9ba40
[BypassSlowDivision] Explicitly create bit mask
nikic Dec 9, 2025
005ef5c
[libc][CI] update macOS version in workflow configuration (#171228)
SchrodingerZhu Dec 9, 2025
6960b63
[LSR] Use getSigned() for negated immediate
nikic Dec 9, 2025
4afc92e
[NFC][ELF] Remove pointless NEEDS_TLSGD_TO_IE (#171046)
jrtc27 Dec 9, 2025
51d928f
[BOLT] Fix pacret-synchronous-unwind.cpp test (#171395)
bgergely0 Dec 9, 2025
b2ddb90
[libc++] Don't try to be compatible with libstdc++ in __libcpp_refstr…
philnik777 Dec 9, 2025
6b58449
Update the NATVIS file
AaronBallman Dec 9, 2025
b3a5870
[llvm][docs] Add a release note for LLDB "version -v"
DavidSpickett Dec 9, 2025
c66eb25
[OCaml] Fix build
nikic Dec 9, 2025
7f2bbba
[AArch64][ARM] Optimize more `tbl`/`tbx` calls into `shufflevector` (…
valadaptive Dec 9, 2025
1a66474
[clang][FMV][AArch64] Remove O3 from failing test (#171457)
labrinea Dec 9, 2025
c61a481
[VPlan] Use SCEV to prove non-aliasing for stores at different offset…
fhahn Dec 9, 2025
76cffd3
[CI] Tweak wording for builds with passing tests and build errors (#1…
DavidSpickett Dec 9, 2025
a033183
[compiler-rt] Try bumping soft_rss_limit again (#171469)
boomanaiden154 Dec 9, 2025
94ebcfd
[mlir][vector] Fix crash in ReorderCastOpsOnBroadcast with non-vector…
Men-cotton Dec 9, 2025
5236af8
[MLIR][XeGPU] Extend propagation and sg_to_lane distribution pass sup…
Jianhui-Li Dec 9, 2025
0c0ed39
[lldb] Don't read firstSubclass and nextSiblingClass from class_rw_t …
JDevlieghere Dec 9, 2025
2e16f24
[RISCV] Add VMNoV0 register class with only the VMaskVTs. (#171231)
topperc Dec 9, 2025
632cbee
[RISCV] Use VM and VMNoV0 for "vr" and "vd" inline asm constraints wi…
topperc Dec 9, 2025
b3b033b
[CIR][NFC] Fix bad switch fallthroughs in emitStmt (#171224)
andykaylor Dec 9, 2025
e6145e8
[CIR][NFC] Add stubs for missing visitors in ScalarExprEmitter (#171222)
andykaylor Dec 9, 2025
9b12f8f
[LLDB] Run MSVC STL smart pointer tests with PDB (#166946)
Nerixyz Dec 9, 2025
1bada0a
[NVPTX] Add IR pass for FMA transformation in the llc pipeline (#154735)
rajatbajpai Dec 9, 2025
4f79552
[x86][AVX-VNNI] Fix VPDPWXXD Argument Types (#169456)
BaiXilin Dec 9, 2025
ef47462
[SPIRV] Start adding support for `int128` (#170798)
AlexVlx Dec 9, 2025
04a5ee6
[AMDGPU] Modifies builtin def to take _Float16('x') for both HIP/C++ …
ranapratap55 Dec 9, 2025
fa60765
[CIR][CIRGen][Builtin][X86] Masked compress Intrinsics (#169582)
cs25resch11005-bhuvan Dec 9, 2025
ab8208f
[lldb][docs] Fix Visual Studio link in build doc
DavidSpickett Dec 9, 2025
0aa8b82
[lldb][docs] Fix plaintext markers in command map
DavidSpickett Dec 9, 2025
1dacdbe
[Clang] Export inline move constructors in dllexport-ed template inst…
kikairoya Dec 9, 2025
0a39d1f
[gn build] Port 1bada0af22d8
llvmgnsyncbot Dec 9, 2025
c0eac77
[ADT] BitVector: give `subsetOf(RHS)` name to `!test(RHS)` (NFC) (#17…
atrosinenko Dec 9, 2025
cd805a7
[LLDB] Run MSVC STL (forward-)list test with PDB (#166953)
Nerixyz Dec 9, 2025
d796d73
[MLIR] Apply clang-tidy fixes for readability-identifier-naming in In…
joker-eph Aug 21, 2025
00bccfc
[X86] bitcnt-big-integer.ll - add additional test coverage where the …
RKSimon Dec 9, 2025
93d2ef1
[mlir][bytecode] Add support for deferred attribute/type parsing. (#1…
jpienaar Dec 9, 2025
cc25ac4
[flang][OpenMP] Use DirId() instead of DirName().v, NFC (#171484)
kparzysz Dec 9, 2025
719826d
[LLDB] Run MSVC STL optional test with PDB (#171486)
Nerixyz Dec 9, 2025
03160c1
[X86] fix typo: `MCVTTP2SIS` -> `MCVTTP2UIS` (#171229)
folkertdev Dec 9, 2025
5052b6c
[AMDGPU] Scavenge a VGPR to eliminate a frame index (#166979)
gandhi56 Dec 9, 2025
24117f7
[clang-doc] Replace HTML generation with Mustache backend (#170199)
evelez7 Dec 9, 2025
4bff9fd
[gn build] Port 24117f75ad9d
llvmgnsyncbot Dec 9, 2025
dc92bd0
[sanitizer_common] [Darwin] Replace pty with pipe on posix_spawn path…
ndrewh Dec 9, 2025
7a5e2c9
[LV] Add test with threshold=0 and metadata forcing vectorization.
fhahn Dec 9, 2025
b3d05e6
[Hexagon] Add HVX V81 builtins (#170680)
fhossein-quic Dec 9, 2025
0eb00ef
[alpha.webkit.RetainPtrCtorAdoptChecker] Don't treat assignment to an…
rniwa Dec 9, 2025
f9326ff
[WebKit checkers] Treat a weak property / variable as safe (#163689)
rniwa Dec 9, 2025
06f0758
[alpha.webkit.UnretainedCallArgsChecker] Recognize [allocObj() init] …
rniwa Dec 9, 2025
8a115b6
[LV] Mark checks as never succeeding for high cost cutoff.
fhahn Dec 9, 2025
af3c3ec
[AArch64] recognise trn1/trn2 with flipped operands (#169858)
ginsbach Dec 9, 2025
0895163
[bazel] Port 24117f75ad9d7bbb439e8e1bd596fdcf0aa8d6e2 (#171497)
boomanaiden154 Dec 9, 2025
019a294
[CIR][X86] Implement xsave/xrstor builtins Fixes part of #167752 (#17…
medhatiwari Dec 9, 2025
87bf5ee
[CIR] Add basic support for data member pointers (#170939)
andykaylor Dec 9, 2025
8f3c8da
[MLIR][Bytecode] Use consistent types for resolveEntry (#171502)
boomanaiden154 Dec 9, 2025
926cbdd
[sanitizer_common] child_stdin_fd_ should only be set on posix_spawn …
ndrewh Dec 9, 2025
64ee4bf
[scudo] Refactor initialization of TSDs. (#169738)
cferris1000 Dec 9, 2025
f29d060
Revert "[LV] Mark checks as never succeeding for high cost cutoff."
boomanaiden154 Dec 9, 2025
d86bc19
[clang-doc] Do not serialize empty text comments (#169087)
evelez7 Dec 9, 2025
3310c0b
[VPlan] Strip TODO to consolidate (ActiveLaneMask|Widen)PHI (#171392)
artagnon Dec 9, 2025
d233e78
Revert "[Flang] Move builtin .mod generation into runtimes (Reapply #…
Meinersbur Dec 9, 2025
9e2b8b0
[lldb] Remove CommandReturnObject::AppendRawError (#171517)
JDevlieghere Dec 9, 2025
794218b
[ExtractAPI] Format typedef params correctly (#171516)
snprajwal Dec 9, 2025
fb29a6e
[RISCV] Fix formatting in RISCVInstrInfoXSf.td. NFC (#171500)
topperc Dec 9, 2025
84b9e44
[CIR] Add Function Argument Demotion support (#170915)
adams381 Dec 9, 2025
0a2e56d
[CIR] Add support for thread-local storage (TLS) (#168662)
adams381 Dec 9, 2025
2765113
AMDGPU: Drop and upgrade llvm.amdgcn.atomic.csub/cond.sub to atomicrm…
anjenner Dec 9, 2025
7062cd6
[Matrix] Add a row\col major toggle in the clang driver (#167628)
farzonl Dec 9, 2025
a9bcedf
[NFC][SPIRV] Fix breakage introduced by #170798 (#171513)
AlexVlx Dec 9, 2025
782f507
[lldb][Wasm] Handle imports when parsing Wasm name sections (#170960)
dschuff Dec 9, 2025
dda715d
[BOLT][DWARF] Improve reporting on missing DWOs (#171506)
maksfb Dec 9, 2025
29760ce
[lldb] Fix capitalization in ambiguous command error (#171519)
JDevlieghere Dec 10, 2025
21147e7
[mlir][acc] Add loop tiling utilities for OpenACC (#171490)
razvanlupusoru Dec 10, 2025
687986e
[Docs] Add documentation for LLVM_ENABLE_CURL (#170928)
boomanaiden154 Dec 10, 2025
53cd4ab
Revert "[AArch64] Run optimizeTerminators earlier too." (#171505)
aeubanks Dec 10, 2025
eab9394
[clang][DependencyScanning] Fix spelling mistake for DiagnosticsEngin…
naveen-seth Dec 10, 2025
c155124
[mlir][acc] Fix build error for tiling API return value (#171546)
razvanlupusoru Dec 10, 2025
2d0c14c
[bazel] Port 21147e7c95c03f554d4a7fb9b55b8e459357eb49 (#171545)
boomanaiden154 Dec 10, 2025
b3a5ad1
[MLIR][IRDL] Add C API for IRDL Variadicity attributes. (#171076)
mikeurbach Dec 10, 2025
f309fab
[RISCV][GISel] Fix legalizer of G_INSERT_SUBVECTOR (#171091)
jacquesguan Dec 10, 2025
c99c3bc
merge main into amd-staging
ronlieb Dec 10, 2025
d4a90a7
merge main into amd-staging
ronlieb Dec 10, 2025
17b13e9
[flang][docs] Correct the title in Unsigned.md (#171553)
kawashima-fj Dec 10, 2025
09eb25f
[flang][docs] Replace Flang to Classic Flang in old doc (#171558)
kawashima-fj Dec 10, 2025
a0443c0
merge main into amd-staging
ronlieb Dec 10, 2025
eb611ea
cleanup revert_patch.txt
ronlieb Dec 10, 2025
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
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .ci/generate_test_report_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def plural(num_tests):
report.extend(
[
"",
"All tests passed but another part of the build **failed**. "
"All executed tests passed, but another part of the build **failed**. "
"Information about the build failure could not be automatically "
"obtained.",
"",
Expand All @@ -278,7 +278,7 @@ def plural(num_tests):
report.extend(
[
"",
"All tests passed but another part of the build **failed**. Click on "
"All executed tests passed, but another part of the build **failed**. Click on "
"a failure below to see the details.",
"",
]
Expand Down
8 changes: 4 additions & 4 deletions .ci/generate_test_report_lib_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ def test_no_failures_build_failed(self):

* 1 test passed

All tests passed but another part of the build **failed**. Information about the build failure could not be automatically obtained.
All executed tests passed, but another part of the build **failed**. Information about the build failure could not be automatically obtained.

Download the build's log file to see the details.

Expand Down Expand Up @@ -390,7 +390,7 @@ def test_no_failures_build_failed_ninja_log(self):

* 1 test passed

All tests passed but another part of the build **failed**. Click on a failure below to see the details.
All executed tests passed, but another part of the build **failed**. Click on a failure below to see the details.

<details>
<summary>test/4.stamp</summary>
Expand Down Expand Up @@ -476,7 +476,7 @@ def test_no_failures_multiple_build_failed_ninja_log(self):

* 1 test passed

All tests passed but another part of the build **failed**. Click on a failure below to see the details.
All executed tests passed, but another part of the build **failed**. Click on a failure below to see the details.

<details>
<summary>touch test/2.stamp</summary>
Expand Down Expand Up @@ -978,7 +978,7 @@ def test_generate_report_end_to_end(self):

* 1 test passed

All tests passed but another part of the build **failed**. Click on a failure below to see the details.
All executed tests passed, but another part of the build **failed**. Click on a failure below to see the details.

<details>
<summary>test/4.stamp</summary>
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/libc-overlay-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
# Set fail-fast to false to ensure that feedback is delivered for all matrix combinations.
fail-fast: false
matrix:
os: [ubuntu-24.04, ubuntu-24.04-arm, windows-2022, windows-2025, macos-14]
os: [ubuntu-24.04, ubuntu-24.04-arm, windows-2022, windows-2025, macos-15]
include:
# TODO: add linux gcc when it is fixed
- os: ubuntu-24.04
Expand All @@ -35,7 +35,7 @@ jobs:
compiler:
c_compiler: clang-cl
cpp_compiler: clang-cl
- os: macos-14
- os: macos-15
compiler:
c_compiler: clang
cpp_compiler: clang++
Expand Down
25 changes: 20 additions & 5 deletions bolt/lib/Core/BinaryContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1888,6 +1888,9 @@ void BinaryContext::preprocessDebugInfo() {

preprocessDWODebugInfo();

// Check if required DWO files are missing.
uint64_t NumMissingDWOs = 0;

// Populate MCContext with DWARF files from all units.
StringRef GlobalPrefix = AsmInfo->getPrivateGlobalPrefix();
for (const std::unique_ptr<DWARFUnit> &CU : DwCtx->compile_units()) {
Expand All @@ -1909,19 +1912,23 @@ void BinaryContext::preprocessDebugInfo() {
std::optional<MD5::MD5Result> Checksum;
if (LineTable->Prologue.ContentTypes.HasMD5)
Checksum = LineTable->Prologue.FileNames[0].Checksum;
std::optional<const char *> Name =
const char *Name =
dwarf::toString(CU->getUnitDIE().find(dwarf::DW_AT_name), nullptr);
if (std::optional<uint64_t> DWOID = CU->getDWOId()) {
auto Iter = DWOCUs.find(*DWOID);
if (Iter == DWOCUs.end()) {
this->errs() << "BOLT-ERROR: DWO CU was not found for " << Name
<< '\n';
exit(1);
const char *DWOName =
dwarf::toString(CU->getUnitDIE().find(dwarf::DW_AT_dwo_name),
"<missing DW_AT_dwo_name>");
this->errs() << "BOLT-ERROR: unable to load " << DWOName
<< " for DWO_id 0x" << Twine::utohexstr(*DWOID) << '\n';
NumMissingDWOs++;
continue;
}
Name = dwarf::toString(
Iter->second->getUnitDIE().find(dwarf::DW_AT_name), nullptr);
}
BinaryLineTable.setRootFile(CU->getCompilationDir(), *Name, Checksum,
BinaryLineTable.setRootFile(CU->getCompilationDir(), Name, Checksum,
std::nullopt);
}

Expand Down Expand Up @@ -1956,6 +1963,14 @@ void BinaryContext::preprocessDebugInfo() {
DwarfVersion));
}
}

if (NumMissingDWOs) {
this->errs() << "BOLT-ERROR: " << NumMissingDWOs
<< " required DWO file(s) not found. Unable to update debug"
" info. Use --comp-dir-override to locate the file(s) or"
" --update-debug-sections=0 to remove debug info\n";
exit(1);
}
}

bool BinaryContext::shouldEmit(const BinaryFunction &Function) const {
Expand Down
2 changes: 1 addition & 1 deletion bolt/lib/Passes/PAuthGadgetScanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ class SrcSafetyAnalysis {

// Being trusted is a strictly stronger property than being
// safe-to-dereference.
assert(!Next.TrustedRegs.test(Next.SafeToDerefRegs) &&
assert(Next.TrustedRegs.subsetOf(Next.SafeToDerefRegs) &&
"SafeToDerefRegs should contain all TrustedRegs");

return Next;
Expand Down
18 changes: 18 additions & 0 deletions bolt/test/dwarf5-missing-dwo.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// Check that llvm-bolt correctly reports a missing DWO file while updating
// debug info.
//
// RUN: %clang %cflags -g -dwarf5 -gsplit-dwarf=single -c %s -o %t.o
// RUN: %clang %cflags %t.o -o %t.exe -Wl,-q
// RUN: rm %t.o
// RUN: not llvm-bolt %t.exe -o %t.bolt --update-debug-sections \
// RUN: 2>&1 | FileCheck %s -DDWO=%t.o
//
// Check that llvm-bolt succeeds on the same binary with disabled debug info
// update.
//
// RUN: llvm-bolt %t.exe -o %t.bolt --update-debug-sections=0

// CHECK: BOLT-ERROR: unable to load [[DWO]]
// CHECK-NEXT: BOLT-ERROR: 1 required DWO file(s) not found

int main() { return 0; }
15 changes: 9 additions & 6 deletions bolt/test/runtime/AArch64/pacret-synchronous-unwind.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@
// RUN: -fno-asynchronous-unwind-tables \
// RUN: %s -o %t.exe -Wl,-q
// RUN: llvm-bolt %t.exe -o %t.bolt | FileCheck %s --check-prefix=CHECK
//
// CHECK: PointerAuthCFIAnalyzer ran on 3 functions. Ignored
// CHECK-NOT: 0 functions (0.00%) because of CFI inconsistencies
// CHECK-SAME: 1 functions (33.33%) because of CFI inconsistencies
// CHECK-NEXT: BOLT-WARNING: PointerAuthCFIAnalyzer only supports asynchronous
// CHECK-SAME: unwind tables. For C compilers, see -fasynchronous-unwind-tables.

// Number of functions with .cfi-negate-ra-state in the binary is
// platform-dependent.
// CHECK: BOLT-INFO: PointerAuthCFIAnalyzer ran on {{[0-9]+}} functions.
// CHECK-SAME: Ignored {{[0-9]}} functions ({{[0-9.]+}}%) because of CFI
// CHECK-SAME: inconsistencies
// CHECK-NEXT: BOLT-WARNING: PointerAuthCFIAnalyzer only supports
// CHECK-SAME: asynchronous unwind tables. For C compilers, see
// CHECK-SAME: -fasynchronous-unwind-tables.

#include <cstdio>
#include <stdexcept>
Expand Down
1 change: 0 additions & 1 deletion clang-tools-extra/clang-doc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ add_clang_library(clangDoc STATIC
Representation.cpp
Serialize.cpp
YAMLGenerator.cpp
HTMLMustacheGenerator.cpp
JSONGenerator.cpp

DEPENDS
Expand Down
2 changes: 0 additions & 2 deletions clang-tools-extra/clang-doc/Generators.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,6 @@ void Generator::addInfoToIndex(Index &Idx, const doc::Info *Info) {
[[maybe_unused]] static int YAMLGeneratorAnchorDest = YAMLGeneratorAnchorSource;
[[maybe_unused]] static int MDGeneratorAnchorDest = MDGeneratorAnchorSource;
[[maybe_unused]] static int HTMLGeneratorAnchorDest = HTMLGeneratorAnchorSource;
[[maybe_unused]] static int MHTMLGeneratorAnchorDest =
MHTMLGeneratorAnchorSource;
[[maybe_unused]] static int JSONGeneratorAnchorDest = JSONGeneratorAnchorSource;
} // namespace doc
} // namespace clang
1 change: 0 additions & 1 deletion clang-tools-extra/clang-doc/Generators.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ struct MustacheGenerator : public Generator {
extern volatile int YAMLGeneratorAnchorSource;
extern volatile int MDGeneratorAnchorSource;
extern volatile int HTMLGeneratorAnchorSource;
extern volatile int MHTMLGeneratorAnchorSource;
extern volatile int JSONGeneratorAnchorSource;

} // namespace doc
Expand Down
Loading