Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
515 commits
Select commit Hold shift + click to select a range
c37bc81
Merge llvm/main into amd-debug
Aug 19, 2025
75d48e1
Merge llvm/main into amd-debug
Aug 19, 2025
7b555f2
Merge llvm/main into amd-debug
Aug 19, 2025
d38e2f2
Merge llvm/main into amd-debug
Aug 19, 2025
ad600a1
Merge llvm/main into amd-debug
Aug 19, 2025
f9882b0
Merge llvm/main into amd-debug
Aug 19, 2025
223fd14
Merge llvm/main into amd-debug
Aug 19, 2025
b9e9556
Merge llvm/main into amd-debug
Aug 19, 2025
dc47544
Merge llvm/main into amd-debug
Aug 19, 2025
21014a2
Merge llvm/main into amd-debug
Aug 19, 2025
4ca66c1
Merge llvm/main into amd-debug
Aug 19, 2025
9b23267
Merge llvm/main into amd-debug
Aug 19, 2025
517e0c2
Merge llvm/main into amd-debug
Aug 20, 2025
28da0c0
Merge llvm/main into amd-debug
Aug 20, 2025
e92d57a
Merge llvm/main into amd-debug
Aug 20, 2025
5c5978b
Merge llvm/main into amd-debug
Aug 20, 2025
6eccf41
add test case
Shoreshen Aug 20, 2025
6c8be65
Merge llvm/main into amd-debug
Aug 20, 2025
aed7726
Merge llvm/main into amd-debug
Aug 20, 2025
efb149e
Merge llvm/main into amd-debug
Aug 20, 2025
1a4eddf
add type change for debug info (#3537)
Aug 21, 2025
53f8eef
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Aug 21, 2025
9d06195
Merge llvm/main into amd-debug
Aug 21, 2025
5704bfe
Merge llvm/main into amd-debug
Aug 21, 2025
edb10e5
Merge llvm/main into amd-debug
Aug 21, 2025
5ed9a77
Merge llvm/main into amd-debug
Aug 21, 2025
60bc315
Merge llvm/main into amd-debug
Aug 21, 2025
10488e8
Merge llvm/main into amd-debug
Aug 21, 2025
0b66d4c
Merge llvm/main into amd-debug
Aug 21, 2025
3f35871
Merge llvm/main into amd-debug
Aug 21, 2025
a459ab3
Merge llvm/main into amd-debug
Aug 22, 2025
68039cc
Merge llvm/main into amd-debug
Aug 22, 2025
8ce56c3
Merge llvm/main into amd-debug
Aug 22, 2025
c2a6cd9
Merge llvm/main into amd-debug
Aug 22, 2025
82782d2
Merge llvm/main into amd-debug
Aug 22, 2025
846cf76
Merge llvm/main into amd-debug
Aug 22, 2025
40b20c6
Merge llvm/main into amd-debug
Aug 22, 2025
4001904
Merge llvm/main into amd-debug
Aug 22, 2025
934fb3d
Merge llvm/main into amd-debug
Aug 22, 2025
8b54eab
Merge llvm/main into amd-debug
Aug 22, 2025
b365aa3
Merge llvm/main into amd-debug
Aug 25, 2025
4b00c8e
Merge llvm/main into amd-debug
Aug 25, 2025
1043f01
Merge llvm/main into amd-debug
Aug 25, 2025
ee77044
Merge llvm/main into amd-debug
Aug 25, 2025
1727a19
Merge llvm/main into amd-debug
Aug 25, 2025
4f2174c
Merge llvm/main into amd-debug
Aug 25, 2025
fe9f535
Merge llvm/main into amd-debug
Aug 25, 2025
8a08d84
Merge llvm/main into amd-debug
Aug 26, 2025
94ce1b8
Merge llvm/main into amd-debug
Aug 26, 2025
2d225ae
Merge llvm/main into amd-debug
Aug 26, 2025
fc7eac0
Merge llvm/main into amd-debug
Aug 26, 2025
8fbff38
Merge llvm/main into amd-debug
Aug 26, 2025
ccb4647
Merge llvm/main into amd-debug
Aug 26, 2025
a9becbe
Merge llvm/main into amd-debug
Aug 26, 2025
6143e78
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Aug 27, 2025
7d893db
Merge llvm/main into amd-debug
Aug 28, 2025
e544442
Merge llvm/main into amd-debug
Aug 28, 2025
1d7b085
Merge llvm/main into amd-debug
Aug 28, 2025
023e6d7
Merge llvm/main into amd-debug
Aug 28, 2025
b35f33a
Merge llvm/main into amd-debug
Aug 28, 2025
7c1c993
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Aug 28, 2025
9118fc0
Update a-v-global-atomicrmw.ll test
mariusz-sikora-at-amd Aug 28, 2025
e5f7be9
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Sep 1, 2025
1346f31
Merge llvm/main into amd-debug
Sep 2, 2025
764a005
Merge llvm/main into amd-debug
Sep 2, 2025
de90a47
Merge llvm/main into amd-debug
Sep 2, 2025
ba1ef71
Merge llvm/main into amd-debug
Sep 2, 2025
9261a04
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Sep 3, 2025
12a789b
Update tests
mariusz-sikora-at-amd Sep 3, 2025
84c822b
Merge llvm/main into amd-debug
Sep 3, 2025
8030bdc
Merge llvm/main into amd-debug
Sep 3, 2025
7b17f49
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Sep 5, 2025
4080fb9
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Sep 8, 2025
bbcb27a
Merge llvm/main into amd-debug
Sep 8, 2025
d577ff3
Merge llvm/main into amd-debug
Sep 8, 2025
ae78f55
Merge llvm/main into amd-debug
Sep 8, 2025
582ab94
Merge llvm/main into amd-debug
Sep 8, 2025
58cba25
Merge llvm/main into amd-debug
Sep 9, 2025
aa45ea9
Merge llvm/main into amd-debug
Sep 9, 2025
280cfc2
Merge llvm/main into amd-debug
Sep 9, 2025
4787660
Merge llvm/main into amd-debug
Sep 9, 2025
c9ecf28
Merge llvm/main into amd-debug
Sep 9, 2025
25cb290
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Sep 9, 2025
6debbfd
Update debug-info-amdgcn-abi-heterogeneous-dwarf.hip test
mariusz-sikora-at-amd Sep 9, 2025
bd17595
Remove duplicate tests. (#3976)
mariusz-sikora-at-amd Sep 10, 2025
35cd0c9
Merge llvm/main into amd-debug
Sep 10, 2025
36fafa0
Merge llvm/main into amd-debug
Sep 10, 2025
5932318
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Sep 10, 2025
87704d8
Merge llvm/main into amd-debug
Sep 11, 2025
6590670
Merge llvm/main into amd-debug
Sep 11, 2025
708985e
Merge llvm/main into amd-debug
Sep 11, 2025
7f52512
Merge llvm/main into amd-debug
Sep 11, 2025
a449c85
Merge llvm/main into amd-debug
Sep 11, 2025
09c41a4
Merge llvm/main into amd-debug
Sep 11, 2025
6aa33ad
Merge llvm/main into amd-debug
Sep 11, 2025
030bd33
Merge llvm/main into amd-debug
Sep 12, 2025
c0173b7
Merge llvm/main into amd-debug
Sep 12, 2025
6c1fe2b
Merge llvm/main into amd-debug
Sep 12, 2025
59e8a45
Merge llvm/main into amd-debug
Sep 12, 2025
f7706db
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Sep 12, 2025
0dd0c36
Merge llvm/main into amd-debug
Sep 12, 2025
c343d79
Merge llvm/main into amd-debug
Sep 15, 2025
1c916f8
Merge llvm/main into amd-debug
slinder1 Sep 15, 2025
2fe59eb
Resolve conflicts
slinder1 Sep 15, 2025
c27982a
Merge llvm/main into amd-debug
Sep 16, 2025
fa4a66d
Merge llvm/main into amd-debug
Sep 16, 2025
86cf8c2
Merge llvm/main into amd-debug
Sep 16, 2025
e12506f
Merge llvm/main into amd-debug
Sep 16, 2025
3c262b5
XFAIL dtlto.c temporarily
skganesan008 Sep 19, 2025
ab5a712
XFAIL dtlto.c temporarily (#4127)
skganesan008 Sep 19, 2025
9d63b31
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Sep 22, 2025
b273210
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Sep 23, 2025
efbe6e1
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Sep 23, 2025
9f63e74
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Sep 23, 2025
aea2cf6
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Sep 23, 2025
ad62061
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Sep 23, 2025
d68b9e9
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Sep 23, 2025
f5b77f2
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Sep 23, 2025
1c7e76c
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Sep 23, 2025
cb6c765
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Sep 23, 2025
f23f70c
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Sep 23, 2025
ce12c52
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Sep 24, 2025
b29895e
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Sep 24, 2025
5fe9ef6
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Sep 24, 2025
6332330
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Sep 24, 2025
a0e8c7b
Update tests
mariusz-sikora-at-amd Sep 24, 2025
768baa4
Merge llvm/main into amd-debug
Sep 24, 2025
9c1d66d
Merge llvm/main into amd-debug
Sep 24, 2025
239615c
Merge llvm/main into amd-debug
Sep 24, 2025
e69c6b2
Merge llvm/main into amd-debug
Sep 24, 2025
2210755
Merge llvm/main into amd-debug
Sep 24, 2025
c9042b8
Merge llvm/main into amd-debug
Sep 24, 2025
a923583
Merge llvm/main into amd-debug
Sep 24, 2025
9f2ad05
Merge llvm/main into amd-debug
Sep 24, 2025
4fa781d
Merge llvm/main into amd-debug
Sep 25, 2025
9517b30
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Sep 25, 2025
1d33e4d
Update test
mariusz-sikora-at-amd Sep 25, 2025
f1ca83e
Merge llvm/main into amd-debug
Sep 25, 2025
fc588c9
Merge llvm/main into amd-debug
Sep 25, 2025
d5ce3df
Merge llvm/main into amd-debug
Sep 25, 2025
ff66700
Merge llvm/main into amd-debug
Sep 25, 2025
53c1fc7
Merge llvm/main into amd-debug
Sep 25, 2025
97096fe
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Sep 26, 2025
0bb138e
Merge llvm/main into amd-debug
Sep 26, 2025
c9b5ad2
Merge llvm/main into amd-debug
Sep 26, 2025
8720df7
Merge llvm/main into amd-debug
Sep 26, 2025
5d19092
Merge llvm/main into amd-debug
Sep 26, 2025
f2ac593
Merge llvm/main into amd-debug
sstipano Sep 27, 2025
8bf613c
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Sep 29, 2025
8e9a484
Update bf16.ll test
mariusz-sikora-at-amd Sep 29, 2025
f0ec5b5
Merge llvm/main into amd-debug
Sep 29, 2025
688efc5
Merge llvm/main into amd-debug
Sep 29, 2025
877b689
Merge llvm/main into amd-debug
Sep 29, 2025
33ab60d
Merge llvm/main into amd-debug
Sep 30, 2025
e5c3c76
Merge llvm/main into amd-debug
Sep 30, 2025
67de1ba
Merge llvm/main into amd-debug
Sep 30, 2025
db3cdc0
Merge llvm/main into amd-debug
Sep 30, 2025
f1e4f42
Merge llvm/main into amd-debug
Sep 30, 2025
be1daed
[HeterogeneousDWARF] Clarify code in createScaledCFAInPrivateWave (#4…
slinder1 Sep 30, 2025
c25c2c7
Merge llvm/main into amd-debug
Sep 30, 2025
2d83724
Merge llvm/main into amd-debug
Sep 30, 2025
43ae65b
Merge llvm/main into amd-debug
Sep 30, 2025
a3a44d5
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Oct 1, 2025
4baab32
Merge llvm/main into amd-debug
Oct 1, 2025
45bb4f8
Merge llvm/main into amd-debug
Oct 1, 2025
7742337
Merge llvm/main into amd-debug
Oct 1, 2025
337d397
Merge llvm/main into amd-debug
Oct 1, 2025
a37df3b
Merge llvm/main into amd-debug
Oct 1, 2025
37066c8
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Oct 2, 2025
fb422ba
Merge llvm/main into amd-debug
Oct 2, 2025
9aaaf80
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Oct 2, 2025
e863a78
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Oct 2, 2025
246233e
Merge llvm/main into amd-debug
Oct 2, 2025
0cd7862
Merge llvm/main into amd-debug
Oct 2, 2025
0e582fa
Merge llvm/main into amd-debug
Oct 2, 2025
d7a2d9d
Merge llvm/main into amd-debug
Oct 2, 2025
98123b3
Merge llvm/main into amd-debug
Oct 2, 2025
df50a37
Merge llvm/main into amd-debug
Oct 3, 2025
b4efbc1
Merge llvm/main into amd-debug
Oct 3, 2025
e27b906
Merge llvm/main into amd-debug
Oct 3, 2025
329acf6
Merge llvm/main into amd-debug
Oct 3, 2025
d733be1
Merge llvm/main into amd-debug
Oct 3, 2025
4357860
Merge llvm/main into amd-debug
Oct 3, 2025
b94076b
Merge llvm/main into amd-debug
Oct 3, 2025
2d12910
Merge llvm/main into amd-debug
Oct 3, 2025
8363136
Merge llvm/main into amd-debug
Oct 3, 2025
73d89ed
Merge llvm/main into amd-debug
Oct 3, 2025
9b6dae7
Merge llvm/main into amd-debug
Oct 3, 2025
0786f05
Merge llvm/main into amd-debug
Oct 4, 2025
d8650a9
Merge llvm/main into amd-debug
Oct 4, 2025
4242d92
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Oct 6, 2025
835ccf1
Merge llvm/main into amd-debug
Oct 6, 2025
08f14d7
Merge llvm/main into amd-debug
Oct 6, 2025
d3e93c3
Merge llvm/main into amd-debug
Oct 6, 2025
7f168eb
Merge llvm/main into amd-debug
Oct 6, 2025
a019fc0
Merge llvm/main into amd-debug
Oct 6, 2025
7f85898
Merge llvm/main into amd-debug
Oct 7, 2025
2471173
Merge llvm/main into amd-debug
Oct 7, 2025
427ef8b
Merge llvm/main into amd-debug
Oct 7, 2025
c94dc93
Merge llvm/main into amd-debug
Oct 8, 2025
99b1538
Merge llvm/main into amd-debug
Oct 8, 2025
34f98c8
Merge llvm/main into amd-debug
Oct 8, 2025
1e44685
Merge llvm/main into amd-debug
Oct 8, 2025
5190d56
Merge llvm/main into amd-debug
Oct 8, 2025
913bc30
Merge llvm/main into amd-debug
Oct 8, 2025
7656247
Merge llvm/main into amd-debug
Oct 9, 2025
fd4fbda
Merge llvm/main into amd-debug
ScottEgerton Oct 9, 2025
619e19f
Merge llvm/main into amd-debug
Oct 9, 2025
b3bc98d
Merge llvm/main into amd-debug
Oct 9, 2025
4240686
Merge llvm/main into amd-debug
Oct 9, 2025
20691ef
Merge llvm/main into amd-debug
Oct 9, 2025
952917e
Merge llvm/main into amd-debug
Oct 9, 2025
4c0aa73
Merge llvm/main into amd-debug
Oct 10, 2025
e1fd0d9
Merge llvm/main into amd-debug
Oct 10, 2025
f2dd8b2
Merge llvm/main into amd-debug
Oct 10, 2025
801188d
Merge llvm/main into amd-debug
Oct 10, 2025
09acd6e
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Oct 10, 2025
9902c8e
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Oct 10, 2025
46442bc
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Oct 13, 2025
8162351
Merge llvm/main into amd-debug
mariusz-sikora-at-amd Oct 13, 2025
1aa80db
Merge llvm/main into amd-debug
Oct 13, 2025
c12e418
Merge llvm/main into amd-debug
Oct 13, 2025
524460d
Merge llvm/main into amd-debug
Oct 13, 2025
b7a3993
Merge llvm/main into amd-debug
Oct 13, 2025
fbbaae8
Merge llvm/main into amd-debug
Oct 13, 2025
42ad949
Merge llvm/main into amd-debug
Oct 13, 2025
2141783
Merge llvm/main into amd-debug
Oct 14, 2025
2489077
Merge llvm/main into amd-debug
Oct 14, 2025
fcc7d84
Merge llvm/main into amd-debug
Oct 14, 2025
1c686ed
Merge llvm/main into amd-debug
Oct 14, 2025
551513b
Merge llvm/main into amd-debug
Oct 14, 2025
56d6301
Merge llvm/main into amd-debug
Oct 14, 2025
5e85f54
Merge llvm/main into amd-debug
Oct 14, 2025
8ddbaa3
Merge llvm/main into amd-debug
Oct 14, 2025
d1ae2a8
Merge llvm/main into amd-debug
Oct 14, 2025
888a089
Merge llvm/main into amd-debug
Oct 14, 2025
4d6d616
Merge llvm/main into amd-debug
Oct 14, 2025
ec0e0e9
Merge llvm/main into amd-debug
Oct 15, 2025
eef74e3
Merge llvm/main into amd-debug
Oct 15, 2025
6d57fcc
Merge llvm/main into amd-debug
Oct 15, 2025
1bbd301
Merge llvm/main into amd-debug
Oct 15, 2025
1ae796e
Merge llvm/main into amd-debug
Oct 15, 2025
1422977
Merge llvm/main into amd-debug
Oct 15, 2025
cc68e07
Merge llvm/main into amd-debug
Oct 15, 2025
2946108
Merge llvm/main into amd-debug
Oct 15, 2025
eac8954
Merge llvm/main into amd-debug
Oct 15, 2025
1f47806
Merge llvm/main into amd-debug
sstipano Oct 15, 2025
f1f7225
[HeterogeneousDwarf] Fix constant (AS4) global emission (#4541)
epilk Oct 17, 2025
29fc49f
[HeterogeneousDWARF] Respect Has1024AddressableVGPRs in CFI (#4545)
slinder1 Oct 17, 2025
e20442b
Merge llvm/main into amd-debug
sstipano Oct 21, 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
  •  
  •  
  •  
135 changes: 135 additions & 0 deletions .github/workflows/buildbot-psdb-trigger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
name: Trigger amd-debug Buildbot Build
on:
workflow_dispatch:
pull_request:
branches: [amd-debug]
types: [opened, reopened, synchronize, ready_for_review]


jobs:
trigger-build:
if: github.event.pull_request.draft == false
runs-on:
group: compiler-generic-runners
env:
PR_SHA: ${{ github.event.pull_request.head.sha != '' && github.event.pull_request.head.sha || github.sha }}
PR_NUMBER: ${{ github.event.pull_request.number != '' && github.event.pull_request.number || 0 }}
PR_URL: ${{ github.event.pull_request.html_url != '' && github.event.pull_request.html_url || '' }}
PR_TITLE: ${{ github.event.pull_request.title != '' && github.event.pull_request.title || '' }}
BASE_BRANCH: ${{ github.event.pull_request.base.ref != '' && github.event.pull_request.base.ref || '' }}
GITHUB_TOKEN: ${{secrets.CI_GITHUB_TOKEN}}

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Set environment variable for container image
run: |
echo "CONTAINER_IMAGE=${{ secrets.BUILDBOT_DOCKER_IMAGE }}" >> $GITHUB_ENV
echo "CONTAINER_NAME=my_container_${{ github.run_id }}" >> $GITHUB_ENV

- name: Pull container image
run: docker pull "${{env.CONTAINER_IMAGE}}"

- name: Run container
run: |
docker run -d --name "${{env.CONTAINER_NAME}}" $CONTAINER_IMAGE sleep infinity
docker exec "${{env.CONTAINER_NAME}}" /bin/bash -c "echo 'Running commands inside the container'"

- name: Escape pull request title
run: |
import json
import os
import shlex
with open('${{ github.event_path }}') as fh:
event = json.load(fh)
escaped = event['pull_request']['title']
with open(os.environ['GITHUB_ENV'], 'a') as fh:
print(f'PR_TITLE={escaped}', file=fh)
shell: python3 {0}

- name: Trigger Buildbot Build
run: |
echo "${{ secrets.BUILDBOT_HOST }}:${{ secrets.BUILDBOT_WORKER_PORT }}"
docker exec -e PR_TITLE="$PR_TITLE" "${{env.CONTAINER_NAME}}" /bin/bash -c 'buildbot sendchange -W ${{ secrets.BUILDBOT_USER }} -a ${{secrets.BUILDBOT_USER}}:${{secrets.BUILDBOT_PWD}} --master="${{ secrets.BUILDBOT_HOST }}:${{ secrets.BUILDBOT_WORKER_PORT }}" --branch=${{ env.BASE_BRANCH }} --revision=${{ env.PR_SHA }} -p PR_NUMBER:${{ env.PR_NUMBER }} -p PR_TITLE:"$PR_TITLE" -p PR_URL:${{ env.PR_URL }} -p SHA:${{ env.PR_SHA }}'

- name: Set Initial Status to Pending
run: |
docker exec -e PR_SHA=$PR_SHA -e GITHUB_TOKEN=$GITHUB_TOKEN "${{env.CONTAINER_NAME}}" /bin/bash -c "python3 -c \"
import os
import requests
GITHUB_TOKEN = os.getenv('GITHUB_TOKEN')
TARGET_SHA = os.getenv('PR_SHA')
print('debug', TARGET_SHA)
api_url = f'https://api.github.com/repos/AMD-Lightning-Internal/llvm-project/statuses/{TARGET_SHA}'
headers = {
'Authorization': f'token {GITHUB_TOKEN}',
'Content-Type': 'application/json'
}
payload = {
'state': 'pending',
'context': 'buildbot',
'description': 'Build is in queue'
}
response = requests.post(api_url, json=payload, headers=headers)
if response.status_code == 201:
print('Status set to pending successfully.')
else:
print(f'Failed to set status: {response.status_code} {response.text}')
\""

- name: Poll Buildbot build status
run: |
python3 -c "
import os
import time
import requests
GITHUB_TOKEN = os.getenv('GITHUB_TOKEN')
BUILD_URL = 'http://${{ secrets.BUILDBOT_HOST }}:${{ secrets.BUILDBOT_MASTER_PORT }}/api/v2/builds'
TARGET_SHA = os.getenv('PR_SHA')
print('debug', TARGET_SHA)
MAX_RETRIES = 10
RETRY_INTERVAL = 30 # seconds

def get_build_properties(build_id):
build_properties_url = f'http://${{ secrets.BUILDBOT_HOST }}:${{ secrets.BUILDBOT_MASTER_PORT }}/api/v2/builds/{build_id}/properties'
response = requests.get(build_properties_url, headers={'Accept': 'application/json', 'Authorization': f'token {GITHUB_TOKEN}'})
return response.json()

for i in range(MAX_RETRIES):
response = requests.get(BUILD_URL, headers={'Accept': 'application/json'})
response_json = response.json()
print(f'Attempt {i + 1}: Buildbot response:', response_json)

# Check if any build has the target SHA
builds = response_json.get('builds', [])
print (builds)
build_with_sha = None
for build in builds:
build_id = build['buildid']
properties = get_build_properties(build_id)
#print(properties)
#prop = properties.get('revision', [])

if 'properties' in properties:
print (properties['properties'])
if 'revision' in properties['properties'][0]:
print(properties['properties'][0])
if 'revision' in properties['properties'][0] and properties['properties'][0]['revision'] [0] == TARGET_SHA:
build_with_sha = build
break

if build_with_sha:
print('Build started successfully for SHA:', TARGET_SHA)
break
else:
print('Build for SHA not started yet, retrying in', RETRY_INTERVAL, 'seconds')
time.sleep(RETRY_INTERVAL)
else:
print('Build did not start for SHA:', TARGET_SHA, 'after maximum retries')
exit(1)
"

- name: Stop and remove container
if: always()
run: |
docker stop "${{env.CONTAINER_NAME}}"
docker rm "${{env.CONTAINER_NAME}}"
Comment on lines +11 to +135

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
8 changes: 8 additions & 0 deletions clang/include/clang/Basic/CodeGenOptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,14 @@ class CodeGenOptions : public CodeGenOptionsBase {
Never, // No loop is assumed to be finite.
};

enum class HeterogeneousDwarfOpts {
Disabled, //< Do not emit any heterogeneous dwarf metadata.
DIExpression, //< Enable DIExpression-based metadata.
};
bool isHeterogeneousDwarfEnabled() const {
return getHeterogeneousDwarfMode() != HeterogeneousDwarfOpts::Disabled;
}

enum AssignmentTrackingOpts {
Disabled,
Enabled,
Expand Down
4 changes: 4 additions & 0 deletions clang/include/clang/Basic/DebugOptions.def
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ DEBUGOPT(DebugStrictDwarf, 1, 1, Compatible) ///< Whether or not to use strict D
DEBUGOPT(DebugOmitUnreferencedMethods, 1, 0, Compatible) ///< Omit unreferenced member
///< functions in type debug info.

/// Control DWARF extensions for heterogeneous debugging enablement and approach.
ENUM_DEBUGOPT(HeterogeneousDwarfMode, HeterogeneousDwarfOpts, 2,
HeterogeneousDwarfOpts::Disabled, Benign)

/// Control the Assignment Tracking debug info feature.
ENUM_DEBUGOPT(AssignmentTrackingMode, AssignmentTrackingOpts, 2,
AssignmentTrackingOpts::Disabled, Benign)
Expand Down
17 changes: 17 additions & 0 deletions clang/include/clang/Driver/Options.td
Original file line number Diff line number Diff line change
Expand Up @@ -4752,6 +4752,23 @@ def gdwarf32 : Flag<["-"], "gdwarf32">, Group<g_Group>,
Visibility<[ClangOption, CC1Option, CC1AsOption]>,
HelpText<"Enables DWARF32 format for ELF binaries, if debug information emission is enabled.">;

def gheterogeneous_dwarf_EQ : Joined<["-"], "gheterogeneous-dwarf=">,
Group<g_Group>, Visibility<[ClangOption, CC1Option]>,
HelpText<"Control DWARF extensions for heterogeneous debugging">,
Values<"disabled,diexpression">,
NormalizedValuesScope<"CodeGenOptions::HeterogeneousDwarfOpts">,
NormalizedValues<["Disabled","DIExpression"]>,
MarshallingInfoEnum<CodeGenOpts<"HeterogeneousDwarfMode">, "Disabled">;
def gheterogeneous_dwarf : Flag<["-"], "gheterogeneous-dwarf">, Group<g_Group>,
Visibility<[ClangOption, CC1Option]>,
HelpText<"Enable DIExpression-based DWARF extensions for heterogeneous debugging">,
Alias<gheterogeneous_dwarf_EQ>, AliasArgs<["diexpression"]>;
def gno_heterogeneous_dwarf : Flag<["-"], "gno-heterogeneous-dwarf">,
Visibility<[ClangOption, CC1Option]>,
Group<g_Group>,
HelpText<"Disable DWARF extensions for heterogeneous debugging">,
Alias<gheterogeneous_dwarf_EQ>, AliasArgs<["disabled"]>;

def gcodeview : Flag<["-"], "gcodeview">,
HelpText<"Generate CodeView debug information">,
Visibility<[ClangOption, CC1Option, CC1AsOption, CLOption, DXCOption]>,
Expand Down
Loading
Loading