Skip to content

Commit 1221560

Browse files
authored
Merge branch 'main' into himadhith/xxleqv_vec
2 parents 2498ee1 + 0fc05aa commit 1221560

File tree

639 files changed

+17713
-6060
lines changed

Some content is hidden

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

639 files changed

+17713
-6060
lines changed

.ci/metrics/metrics.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
GITHUB_JOB_TO_TRACK = {
4141
"github_llvm_premerge_checks": {
4242
"Build and Test Linux": "premerge_linux",
43+
"Build and Test Linux AArch64": "premerge_linux_aarch64",
4344
"Build and Test Windows": "premerge_windows",
4445
},
4546
"github_libcxx_premerge_checks": {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM docker.io/library/ubuntu:24.04 AS base
22
ENV LLVM_SYSROOT=/opt/llvm
33

44
FROM base AS stage1-toolchain
5-
ENV LLVM_VERSION=21.1.1
5+
ENV LLVM_VERSION=21.1.3
66

77
RUN apt-get update && \
88
apt-get install -y \

bolt/docs/BinaryAnalysis.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# BOLT-based binary analysis
22

33
As part of post-link-time optimizing, BOLT needs to perform a range of analyses
4-
on binaries such as recontructing control flow graphs, and more.
4+
on binaries such as reconstructing control flow graphs, and more.
55

66
The `llvm-bolt-binary-analysis` tool enables running requested binary analyses
77
on binaries, and generating reports. It does this by building on top of the

bolt/docs/CommandLineArgumentReference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@
375375

376376
- `--use-old-text`
377377

378-
Re-use space in old .text if possible (relocation mode)
378+
Reuse space in old .text if possible (relocation mode)
379379

380380
- `-v <uint>`
381381

bolt/docs/RuntimeLibrary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ However, this approach quickly becomes awkward if we want to insert a lot of cod
1515
Currently, our runtime library is written in C++ and contains code that helps us instrument a binary.
1616

1717
### Limitations
18-
Our library is not written with regular C++ code as it is not linked against any other libraries (this means we cannnot rely on anything defined on libstdc++, glibc, libgcc etc), but is self sufficient. In runtime/CMakeLists.txt, we can see it is built with -ffreestanding, which requires the compiler to avoid using a runtime library by itself.
18+
Our library is not written with regular C++ code as it is not linked against any other libraries (this means we cannot rely on anything defined on libstdc++, glibc, libgcc etc), but is self sufficient. In runtime/CMakeLists.txt, we can see it is built with -ffreestanding, which requires the compiler to avoid using a runtime library by itself.
1919

2020
While this requires us to make our own syscalls, it does simplify our linker a lot, which is very limited and can only do basic function name resolving. However, this is a big improvement in comparison with programmatically generating the code in assembly language using MCInsts.
2121

bolt/docs/doxygen.cfg.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@ HTML_STYLESHEET =
10701070
# defined cascading style sheet that is included after the standard style sheets
10711071
# created by doxygen. Using this option one can overrule certain style aspects.
10721072
# This is preferred over using HTML_STYLESHEET since it does not replace the
1073-
# standard style sheet and is therefor more robust against future updates.
1073+
# standard style sheet and is therefore more robust against future updates.
10741074
# Doxygen will copy the style sheet file to the output directory. For an example
10751075
# see the documentation.
10761076
# This tag requires that the tag GENERATE_HTML is set to YES.

bolt/include/bolt/Core/BinaryFunction.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1336,7 +1336,7 @@ class BinaryFunction {
13361336
ColdCodeSectionName = Name.str();
13371337
}
13381338

1339-
/// Return true iif the function will halt execution on entry.
1339+
/// Return true if the function will halt execution on entry.
13401340
bool trapsOnEntry() const { return TrapsOnEntry; }
13411341

13421342
/// Make the function always trap on entry. Other than the trap instruction,

bolt/include/bolt/Core/DIEBuilder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class DIEBuilder {
6060
uint32_t UnitLength = 0;
6161
bool IsConstructed = false;
6262
// A map of DIE offsets in original DWARF section to DIE ID.
63-
// Whih is used to access DieInfoVector.
63+
// Which is used to access DieInfoVector.
6464
std::unordered_map<uint64_t, uint32_t> DIEIDMap;
6565

6666
// Some STL implementations don't have a noexcept move constructor for

bolt/include/bolt/Core/DebugData.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,8 @@ class DebugAddrWriter {
326326
/// Write out entries in to .debug_addr section for CUs.
327327
virtual std::optional<uint64_t> finalize(const size_t BufferSize);
328328

329-
/// Return buffer with all the entries in .debug_addr already writen out using
330-
/// update(...).
329+
/// Return buffer with all the entries in .debug_addr already written out
330+
/// using update(...).
331331
virtual std::unique_ptr<AddressSectionBuffer> releaseBuffer() {
332332
return std::move(Buffer);
333333
}
@@ -409,7 +409,7 @@ class DebugAddrWriter {
409409
std::mutex WriterMutex;
410410
std::unique_ptr<AddressSectionBuffer> Buffer;
411411
std::unique_ptr<raw_svector_ostream> AddressStream;
412-
/// Used to track sections that were not modified so that they can be re-used.
412+
/// Used to track sections that were not modified so that they can be reused.
413413
static DenseMap<uint64_t, uint64_t> UnmodifiedAddressOffsets;
414414
};
415415

bolt/include/bolt/Core/DebugNames.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class DWARF5AcceleratorTable {
6565
void setCurrentUnit(DWARFUnit &Unit, const uint64_t UnitStartOffset);
6666
/// Emit Accelerator table.
6767
void emitAccelTable();
68-
/// Returns true if the table was crated.
68+
/// Returns true if the table was created.
6969
bool isCreated() const { return NeedToCreate; }
7070
/// Returns buffer containing the accelerator table.
7171
std::unique_ptr<DebugBufferVector> releaseBuffer() {
@@ -91,7 +91,7 @@ class DWARF5AcceleratorTable {
9191
uint64_t CurrentUnitOffset = 0;
9292
const DWARFUnit *CurrentUnit = nullptr;
9393
std::unordered_map<uint32_t, uint32_t> AbbrevTagToIndexMap;
94-
/// Contains a map of TU hashes to a Foreign TU indecies.
94+
/// Contains a map of TU hashes to a Foreign TU indices.
9595
/// This is used to reduce the size of Foreign TU list since there could be
9696
/// multiple TUs with the same hash.
9797
DenseMap<uint64_t, uint32_t> TUHashToIndexMap;

0 commit comments

Comments
 (0)