Skip to content

Commit ca00718

Browse files
authored
Merge branch 'main' into cwg-2369-2
2 parents 1119f0a + d990cc4 commit ca00718

File tree

3,275 files changed

+148240
-94170
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,275 files changed

+148240
-94170
lines changed

.github/CODEOWNERS

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@
3333
/clang/www/cxx_dr_status.html @Endilll
3434
/clang/www/make_cxx_dr_status @Endilll
3535

36-
clang/lib/AST/Interp/ @tbaederr
37-
clang/test/AST/Interp/ @tbaederr
38-
3936
/clang/include/clang/CIR @lanza @bcardosolopes
4037
/clang/lib/CIR @lanza @bcardosolopes
4138
/clang/tools/cir-* @lanza @bcardosolopes

.github/new-prs-labeler.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -990,6 +990,13 @@ clang:openmp:
990990
- llvm/unittests/Frontend/OpenMP*
991991
- llvm/test/Transforms/OpenMP/**
992992

993+
clang:as-a-library:
994+
- clang/tools/libclang/**
995+
- clang/bindings/**
996+
- clang/include/clang-c/**
997+
- clang/test/LibClang/**
998+
- clang/unittest/libclang/**
999+
9931000
openmp:libomp:
9941001
- any: ['openmp/**', '!openmp/libomptarget/**']
9951002

.github/workflows/containers/github-action-ci/stage1.Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM docker.io/library/ubuntu:22.04 as base
22
ENV LLVM_SYSROOT=/opt/llvm
33

44
FROM base as stage1-toolchain
5-
ENV LLVM_VERSION=17.0.6
5+
ENV LLVM_VERSION=18.1.8
66

77
RUN apt-get update && \
88
apt-get install -y \
@@ -21,11 +21,9 @@ WORKDIR /llvm-project-llvmorg-$LLVM_VERSION
2121

2222
COPY bootstrap.patch /
2323

24-
# TODO(boomanaiden154): Remove the patch pulled from a LLVM PR once we bump
25-
# the toolchain to version 18 and the patch is in-tree.
2624
# TODO(boomanaiden154): Remove the bootstrap patch once we unsplit the build
2725
# and no longer need to explicitly build the stage2 dependencies.
28-
RUN curl https://github.com/llvm/llvm-project/commit/dd0356d741aefa25ece973d6cc4b55dcb73b84b4.patch | patch -p1 && cat /bootstrap.patch | patch -p1
26+
RUN cat /bootstrap.patch | patch -p1
2927

3028
RUN mkdir build
3129

.github/workflows/libclang-python-tests.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ on:
2222
- '.github/workflows/libclang-python-tests.yml'
2323
- '.github/workflows/llvm-project-tests.yml'
2424

25-
concurrency:
26-
# Skip intermediate builds: always.
27-
# Cancel intermediate builds: only if it is a pull request build.
28-
group: ${{ github.workflow }}-${{ github.ref }}
29-
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
30-
3125
jobs:
3226
check-clang-python:
3327
# Build libclang and then run the libclang Python binding's unit tests.

.github/workflows/llvm-project-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ concurrency:
5151
# Cancel intermediate builds: only if it is a pull request build.
5252
# If the group name here is the same as the group name in the workflow that includes
5353
# this one, then the action will try to wait on itself and get stuck.
54-
group: llvm-project-${{ github.workflow }}-${{ inputs.projects }}${{ github.ref }}
54+
group: llvm-project-${{ github.workflow }}-${{ inputs.projects }}-${{ inputs.python_version }}${{ github.ref }}
5555
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
5656

5757
jobs:

.github/workflows/release-binaries-all.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,8 @@ jobs:
9191
release-version: "${{ needs.setup-variables.outputs.release-version }}"
9292
upload: ${{ needs.setup-variables.outputs.upload == 'true'}}
9393
runs-on: "${{ matrix.runs-on }}"
94-
94+
secrets:
95+
# This will be empty for pull_request events, but that's fine, because
96+
# the release-binaries workflow does not use this secret for the
97+
# pull_request event.
98+
RELEASE_TASKS_USER_TOKEN: ${{ secrets.RELEASE_TASKS_USER_TOKEN }}

.github/workflows/release-binaries.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ on:
3737
description: "Runner to use for the build"
3838
required: true
3939
type: string
40+
secrets:
41+
RELEASE_TASKS_USER_TOKEN:
42+
description: "Secret used to check user permissions."
43+
required: false
44+
4045

4146
permissions:
4247
contents: read # Default everything to read-only
@@ -442,7 +447,7 @@ jobs:
442447
- name: Upload Build Provenance
443448
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 #v4.3.3
444449
with:
445-
name: ${{ runner.os }}-${{ runner.arch }}-release-binary-attestation
450+
name: ${{ needs.prepare.outputs.release-binary-filename }}-attestation
446451
path: ${{ needs.prepare.outputs.release-binary-filename }}.jsonl
447452

448453
- name: Upload Release

.github/workflows/release-tasks.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ jobs:
7878
name: Build Release Binaries
7979
permissions:
8080
contents: write
81+
id-token: write
82+
attestations: write
8183
needs:
8284
- validate-tag
8385
- release-create
@@ -99,6 +101,7 @@ jobs:
99101
release-sources:
100102
name: Package Release Sources
101103
permissions:
104+
contents: read
102105
id-token: write
103106
attestations: write
104107
needs:

bolt/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ endforeach()
8282

8383
set(BOLT_ENABLE_RUNTIME_default OFF)
8484
if ((CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64"
85-
OR CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
85+
OR CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm64|aarch64)$")
8686
AND (CMAKE_SYSTEM_NAME STREQUAL "Linux"
8787
OR CMAKE_SYSTEM_NAME STREQUAL "Darwin")
8888
AND (NOT CMAKE_CROSSCOMPILING))

bolt/docs/CommandLineArgumentReference.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,10 @@
113113

114114
Prints out offsets for abbrev and debug_info of Skeleton CUs that get patched.
115115

116+
- `--debug-thread-count=<uint>`
117+
118+
Specifies the number of threads to be used when processing DWO debug information.
119+
116120
- `--dot-tooltip-code`
117121

118122
Add basic block instructions as tool tips on nodes

0 commit comments

Comments
 (0)