Skip to content

Commit 83cd3ca

Browse files
committed
Merge branch 'main' into pauth-signed-got-codegen
2 parents 1ac6a39 + aa9e4f0 commit 83cd3ca

File tree

5,517 files changed

+304104
-134094
lines changed

Some content is hidden

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

5,517 files changed

+304104
-134094
lines changed

.github/CODEOWNERS

+12-4
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ clang/test/AST/Interp/ @tbaederr
6464
/mlir/Dialect/*/Transforms/Bufferize.cpp @matthias-springer
6565

6666
# Linalg Dialect in MLIR.
67-
/mlir/include/mlir/Dialect/Linalg/* @dcaballe @nicolasvasilache @rengolin
68-
/mlir/lib/Dialect/Linalg/* @dcaballe @nicolasvasilache @rengolin
67+
/mlir/include/mlir/Dialect/Linalg @dcaballe @nicolasvasilache @rengolin
68+
/mlir/lib/Dialect/Linalg @dcaballe @nicolasvasilache @rengolin
6969
/mlir/lib/Dialect/Linalg/Transforms/DecomposeLinalgOps.cpp @MaheshRavishankar @nicolasvasilache
7070
/mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp @MaheshRavishankar @nicolasvasilache
7171
/mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp @MaheshRavishankar @nicolasvasilache
@@ -85,8 +85,8 @@ clang/test/AST/Interp/ @tbaederr
8585
/mlir/**/*VectorToSCF* @banach-space @dcaballe @matthias-springer @nicolasvasilache
8686
/mlir/**/*VectorToLLVM* @banach-space @dcaballe @nicolasvasilache
8787
/mlir/**/*X86Vector* @aartbik @dcaballe @nicolasvasilache
88-
/mlir/include/mlir/Dialect/Vector/* @dcaballe @nicolasvasilache
89-
/mlir/lib/Dialect/Vector/* @dcaballe @nicolasvasilache
88+
/mlir/include/mlir/Dialect/Vector @dcaballe @nicolasvasilache
89+
/mlir/lib/Dialect/Vector @dcaballe @nicolasvasilache
9090
/mlir/lib/Dialect/Vector/Transforms/* @hanhanW @nicolasvasilache
9191
/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp @MaheshRavishankar @nicolasvasilache
9292
/mlir/**/*EmulateNarrowType* @dcaballe @hanhanW
@@ -120,6 +120,9 @@ clang/test/AST/Interp/ @tbaederr
120120
/mlir/**/LLVMIR/**/BasicPtxBuilderInterface* @grypp
121121
/mlir/**/NVVM* @grypp
122122

123+
# MLIR Index Dialect
124+
/mlir/**/Index* @mogball
125+
123126
# MLIR Python Bindings
124127
/mlir/test/python/ @ftynse @makslevental @stellaraccident
125128
/mlir/python/ @ftynse @makslevental @stellaraccident
@@ -141,3 +144,8 @@ clang/test/AST/Interp/ @tbaederr
141144

142145
# ExtractAPI
143146
/clang/**/ExtractAPI @daniel-grumberg
147+
148+
# DWARFLinker, dwarfutil, dsymutil
149+
/llvm/**/DWARFLinker/ @JDevlieghere
150+
/llvm/**/dsymutil/ @JDevlieghere
151+
/llvm/**/llvm-dwarfutil/ @JDevlieghere

.github/workflows/issue-write.yml

+11-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
workflows:
66
- "Check code formatting"
77
- "Check for private emails used in PRs"
8+
- "PR Request Release Note"
89
types:
910
- completed
1011

@@ -17,7 +18,11 @@ jobs:
1718
permissions:
1819
pull-requests: write
1920
if: >
20-
github.event.workflow_run.event == 'pull_request'
21+
github.event.workflow_run.event == 'pull_request' &&
22+
(
23+
github.event.workflow_run.conclusion == 'success' ||
24+
github.event.workflow_run.conclusion == 'failure'
25+
)
2126
steps:
2227
- name: 'Download artifact'
2328
uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 # v4.1.1
@@ -92,7 +97,11 @@ jobs:
9297
9398
var pr_number = 0;
9499
gql_result.repository.ref.associatedPullRequests.nodes.forEach((pr) => {
95-
if (pr.baseRepository.owner.login = context.repo.owner && pr.state == 'OPEN') {
100+
101+
// The largest PR number is the one we care about. The only way
102+
// to have more than one associated pull requests is if all the
103+
// old pull requests are in the closed state.
104+
if (pr.baseRepository.owner.login = context.repo.owner && pr.number > pr_number) {
96105
pr_number = pr.number;
97106
}
98107
});

.github/workflows/libcxx-build-and-test.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ jobs:
6363
cxx: [ 'clang++-19' ]
6464
include:
6565
- config: 'generic-gcc'
66-
cc: 'gcc-13'
67-
cxx: 'g++-13'
66+
cc: 'gcc-14'
67+
cxx: 'g++-14'
6868
steps:
6969
- uses: actions/checkout@v4
7070
- name: ${{ matrix.config }}.${{ matrix.cxx }}
@@ -101,8 +101,8 @@ jobs:
101101
cxx: [ 'clang++-19' ]
102102
include:
103103
- config: 'generic-gcc-cxx11'
104-
cc: 'gcc-13'
105-
cxx: 'g++-13'
104+
cc: 'gcc-14'
105+
cxx: 'g++-14'
106106
- config: 'generic-cxx23'
107107
cc: 'clang-17'
108108
cxx: 'clang++-17'

.github/workflows/pr-request-release-note.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: PR Request Release Note
22

33
permissions:
44
contents: read
5-
pull-requests: write
65

76
on:
87
pull_request:
@@ -41,3 +40,10 @@ jobs:
4140
--token "$GITHUB_TOKEN" \
4241
request-release-note \
4342
--pr-number ${{ github.event.pull_request.number}}
43+
44+
- uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 #v4.3.0
45+
if: always()
46+
with:
47+
name: workflow-args
48+
path: |
49+
comments

bolt/docs/CommandLineArgumentReference.md

+83-9
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,14 @@
5656

5757
Allow processing of stripped binaries
5858

59+
- `--alt-inst-feature-size=<uint>`
60+
61+
Size of feature field in .altinstructions
62+
63+
- `--alt-inst-has-padlen`
64+
65+
Specify that .altinstructions has padlen field
66+
5967
- `--asm-dump[=<dump folder>]`
6068

6169
Dump function into assembly
@@ -78,6 +86,16 @@
7886
in the input is decoded and re-encoded. If the resulting bytes do not match
7987
the input, a warning message is printed.
8088

89+
- `--comp-dir-override=<string>`
90+
91+
Overrides DW_AT_comp_dir, and provides an alterantive base location, which is
92+
used with DW_AT_dwo_name to construct a path to *.dwo files.
93+
94+
- `--create-debug-names-section`
95+
96+
Creates .debug_names section, if the input binary doesn't have it already, for
97+
DWARF5 CU/TUs.
98+
8199
- `--cu-processing-batch-size=<uint>`
82100

83101
Specifies the size of batches for processing CUs. Higher number has better
@@ -93,7 +111,7 @@
93111

94112
- `--debug-skeleton-cu`
95113

96-
Prints out offsetrs for abbrev and debu_info of Skeleton CUs that get patched.
114+
Prints out offsets for abbrev and debug_info of Skeleton CUs that get patched.
97115

98116
- `--deterministic-debuginfo`
99117

@@ -104,6 +122,10 @@
104122

105123
Add basic block instructions as tool tips on nodes
106124

125+
- `--dump-alt-instructions`
126+
127+
Dump Linux alternative instructions info
128+
107129
- `--dump-cg=<string>`
108130

109131
Dump callgraph to the given file
@@ -117,10 +139,34 @@
117139
Dump function CFGs to graphviz format after each stage;enable '-print-loops'
118140
for color-coded blocks
119141

142+
- `--dump-linux-exceptions`
143+
144+
Dump Linux kernel exception table
145+
120146
- `--dump-orc`
121147

122148
Dump raw ORC unwind information (sorted)
123149

150+
- `--dump-para-sites`
151+
152+
Dump Linux kernel paravitual patch sites
153+
154+
- `--dump-pci-fixups`
155+
156+
Dump Linux kernel PCI fixup table
157+
158+
- `--dump-smp-locks`
159+
160+
Dump Linux kernel SMP locks
161+
162+
- `--dump-static-calls`
163+
164+
Dump Linux kernel static calls
165+
166+
- `--dump-static-keys`
167+
168+
Dump Linux kernel static keys jump table
169+
124170
- `--dwarf-output-path=<string>`
125171

126172
Path to where .dwo files or dwp file will be written out to.
@@ -205,6 +251,18 @@
205251

206252
Skip processing of cold functions
207253

254+
- `--log-file=<string>`
255+
256+
Redirect journaling to a file instead of stdout/stderr
257+
258+
- `--long-jump-labels`
259+
260+
Always use long jumps/nops for Linux kernel static keys
261+
262+
- `--match-profile-with-function-hash`
263+
264+
Match profile with function hash
265+
208266
- `--max-data-relocations=<uint>`
209267

210268
Maximum number of data relocations to process
@@ -274,6 +332,10 @@
274332

275333
Number of tasks to be created per thread
276334

335+
- `--terminal-trap`
336+
337+
Assume that execution stops at trap instruction
338+
277339
- `--thread-count=<uint>`
278340

279341
Number of threads
@@ -618,10 +680,6 @@
618680
threshold means fewer functions to process. E.g threshold of 90 means only top
619681
10 percent of functions with profile will be processed.
620682

621-
- `--mcf-use-rarcs`
622-
623-
In MCF, consider the possibility of cancelling flow to balance edges
624-
625683
- `--memcpy1-spec=<func1,func2:cs1:cs2,func3:cs1,...>`
626684

627685
List of functions with call sites for which to specialize memcpy() for size 1
@@ -630,6 +688,10 @@
630688

631689
Use a modified clustering algorithm geared towards minimizing branches
632690

691+
- `--name-similarity-function-matching-threshold=<uint>`
692+
693+
Match functions using namespace and edit distance.
694+
633695
- `--no-inline`
634696

635697
Disable all inlining (overrides other inlining options)
@@ -710,7 +772,7 @@
710772
- `none`: do not reorder functions
711773
- `exec-count`: order by execution count
712774
- `hfsort`: use hfsort algorithm
713-
- `hfsort+`: use hfsort+ algorithm
775+
- `hfsort+`: use cache-directed sort
714776
- `cdsort`: use cache-directed sort
715777
- `pettis-hansen`: use Pettis-Hansen algorithm
716778
- `random`: reorder functions randomly
@@ -804,8 +866,8 @@
804866

805867
- `--stale-matching-min-matched-block=<uint>`
806868

807-
Minimum percent of exact match block for a function to be considered for
808-
profile inference.
869+
Percentage threshold of matched basic blocks at which stale profile inference
870+
is executed.
809871

810872
- `--stale-threshold=<uint>`
811873

@@ -853,6 +915,10 @@
853915

854916
Only apply branch boundary alignment in hot code
855917

918+
- `--x86-strip-redundant-address-size`
919+
920+
Remove redundant Address-Size override prefix
921+
856922
### BOLT options in relocation mode:
857923

858924
- `--align-macro-fusion=<value>`
@@ -1039,6 +1105,10 @@
10391105

10401106
Print clusters
10411107

1108+
- `--print-estimate-edge-counts`
1109+
1110+
Print function after edge counts are set for no-LBR profile
1111+
10421112
- `--print-finalized`
10431113

10441114
Print function after CFG is finalized
@@ -1071,6 +1141,10 @@
10711141

10721142
Print functions after inlining optimization
10731143

1144+
- `--print-large-functions`
1145+
1146+
Print functions that could not be overwritten due to excessive size
1147+
10741148
- `--print-longjmp`
10751149

10761150
Print functions after longjmp pass
@@ -1166,4 +1240,4 @@
11661240

11671241
- `--print-options`
11681242

1169-
Print non-default options after command line parsing
1243+
Print non-default options after command line parsing

0 commit comments

Comments
 (0)