#
11791ae7 |
| 31-May-2024 |
Sayhaan Siddiqui <49014204+sayhaan@users.noreply.github.com> |
[BOLT][DWARF][NFC] Added double escape characters (#93348)
Added double escape characters to lines that describe a test.
|
#
6aa94c64 |
| 12-Jul-2023 |
David Stenberg <david.stenberg@ericsson.com> |
[DWARF] Add printout for op-index
This is a preparatory patch for extending DWARFDebugLine to properly parse line number programs with maximum_operations_per_instruction > 1 for VLIW targets.
Add s
[DWARF] Add printout for op-index
This is a preparatory patch for extending DWARFDebugLine to properly parse line number programs with maximum_operations_per_instruction > 1 for VLIW targets.
Add some scaffolding for handling op-index in line number programs, and add printouts for that in the table. As this affects a lot of tests, this is done in a separate commit to get a cleaner review for the actual op-index implementation.
Verbose printouts are not present in many tests, and adding op-index to those will require a bit more code changes, so that is done in the actual implementation patch.
Reviewed By: StephenTozer
Differential Revision: https://reviews.llvm.org/D152535
show more ...
|
#
87fb0ea2 |
| 12-Sep-2022 |
Rui Zhong <reversezr33@gmail.com> |
[BOLT][DWARF] Implement new mechanism for DWARFRewriter
This revision implement new mechanism for DWARFRewriter. In the new mechanism, we adopt the same way with DWARFLinker did. By parsing Debug in
[BOLT][DWARF] Implement new mechanism for DWARFRewriter
This revision implement new mechanism for DWARFRewriter. In the new mechanism, we adopt the same way with DWARFLinker did. By parsing Debug information into IR, we are allowed to handle debug information more flexible. Now the debug information updating process relies on IR and IR will be written out to binary once the updating finished.
A new class was added: DIEBuilder. This class is responsible for parsing debug information and raising it to the IR level. This class is also used to write out the .debug_info and .debug_abbrev sections. Since we output brand new Abbrev section we won't need to always convert low_pc/high_pc into ranges. When conversion does happen we can also remove low_pc entry.
Reviewed By: maksfb, ayermolo
Differential Revision: https://reviews.llvm.org/D130315
show more ...
|
#
de7781ea |
| 07-Jul-2023 |
Nico Weber <thakis@chromium.org> |
Revert "[DWARF][BOLT] Implement new mechanism for DWARFRewriter"
This reverts commit 460a2244430fae192298a5fd9fa2a269e540e8c1. It breaks building on macOS, and it was landed with a review URL pointi
Revert "[DWARF][BOLT] Implement new mechanism for DWARFRewriter"
This reverts commit 460a2244430fae192298a5fd9fa2a269e540e8c1. It breaks building on macOS, and it was landed with a review URL pointing to some Facebook-internal service.
Also reverts a bunch of follow-ups:
Revert "[BOLT][DWARF] Don't check string offsets" This reverts commit f9d6f48c8bf5acaac07502403c41cf0b0d89c8d2.
Revert "[BOLT][DWARF] Change to process and write out TUs first then CUs in batches" This reverts commit 88e95c1e4bb6e2ad3bfd185b96341ad5c09eff6b.
Revert "[BOLT][DWARF] Output DWO files as they are being processed" This reverts commit 46ca2e3fcd419b1246357ed3b9cd36630f16e64d.
Revert "[BOLT][DWARF] Don't check string offsets" This reverts commit cfe4a4b04f219a9dbb4e3fc01883437b6ff0e702.
Revert "[BOLT][DWARF] Numerous fixes for a new DWARFRewriter" This reverts commit 2701a661daa393ad5901ac88d420d7aa931eda0d.
show more ...
|
#
460a2244 |
| 12-Sep-2022 |
Alexander Yermolovich <ayermolo@meta.com> |
[DWARF][BOLT] Implement new mechanism for DWARFRewriter
Summary: This revision implement new mechanism for DWARFRewriter. In the new mechanism, we adopt the same way with DWARFLinker did. By parsing
[DWARF][BOLT] Implement new mechanism for DWARFRewriter
Summary: This revision implement new mechanism for DWARFRewriter. In the new mechanism, we adopt the same way with DWARFLinker did. By parsing Debug information into IR, we are allowed to handle debug information more flexible. Now the debug information updating process relies on IR and IR will be written out to binary once the updating finished.
A new class was added: DIEBuilder. This class is responsible for parsing debug information and raising it to the IR level. This class is also used to write out the .debug_info and .debug_abbrev sections. Since we output brand new Abbrev section we won't need to always convert low_pc/high_pc into ranges. When conversion does happen we can also remove low_pc entry.
Differential Revision: https://phabricator.intern.facebook.com/D39484421
Tasks: T117448832
show more ...
|
#
4ff1bc2f |
| 23-Nov-2022 |
Alexander Yermolovich <ayermolo@fb.com> |
[BOLT][DWARF] Re-enable DWARF5 for asm-func-debug tests
Now that BOLT supports DWARF5 re-enabling it for these two tests. This is update to https://reviews.llvm.org/D125366
Reviewed By: rafauler
D
[BOLT][DWARF] Re-enable DWARF5 for asm-func-debug tests
Now that BOLT supports DWARF5 re-enabling it for these two tests. This is update to https://reviews.llvm.org/D125366
Reviewed By: rafauler
Differential Revision: https://reviews.llvm.org/D138338
show more ...
|
#
d648aa1b |
| 10-Jun-2022 |
Maksim Panchenko <maks@fb.com> |
[BOLT][TEST] Use double dash flags in tests
Replace a single dash with a double dash for options that have more than a single letter.
llvm-bolt-wrapper.py has special treatment for output options s
[BOLT][TEST] Use double dash flags in tests
Replace a single dash with a double dash for options that have more than a single letter.
llvm-bolt-wrapper.py has special treatment for output options such as "-o" and "-w" causing issues when a single dash is used, e.g. for "-write-dwp". The wrapper can be fixed as well, but using a double dash has other advantages as well.
Reviewed By: rafauler
Differential Revision: https://reviews.llvm.org/D127538
show more ...
|
#
4a58eb9e |
| 11-May-2022 |
Amir Ayupov <aaupov@fb.com> |
[BOLT][TEST] Remove -gdwarf-4 override from %cflags
As BOLT support for monolithic and split DWARF5 is added, remove DWARF version override for BOLT tests.
Reviewed By: ayermolo
Differential Revis
[BOLT][TEST] Remove -gdwarf-4 override from %cflags
As BOLT support for monolithic and split DWARF5 is added, remove DWARF version override for BOLT tests.
Reviewed By: ayermolo
Differential Revision: https://reviews.llvm.org/D125366
show more ...
|
#
487570fb |
| 07-Apr-2022 |
Amir Ayupov <aaupov@fb.com> |
[BOLT][TEST] Remove -no-pie from cflags/cxxflags
Align with an upstream change D120305 to make PIE the default on linux-gnu.
Add `-no-pie` to tests that require it.
Reviewed By: maksfb, yota9
Dif
[BOLT][TEST] Remove -no-pie from cflags/cxxflags
Align with an upstream change D120305 to make PIE the default on linux-gnu.
Add `-no-pie` to tests that require it.
Reviewed By: maksfb, yota9
Differential Revision: https://reviews.llvm.org/D123329
show more ...
|
#
5c238be0 |
| 27-Jan-2022 |
Amir Ayupov <amir.aupov@gmail.com> |
[BOLT][TEST] Adjust tests for BOLT_CLANG_EXE=clang-{6..9}
Fix tests to pass with clang-6..9 on Ubuntu 20.04.
Reviewed By: yota9
Differential Revision: https://reviews.llvm.org/D118282
|
#
dcc595ea |
| 26-Jan-2022 |
Vladislav Khmelevsky <och95@yandex.ru> |
[BOLT] Fix DWARFv5 for aarch64
This patch reverts patch "DWARFv5 default: Switch bolt tests to use DWARFv4 since Bolt doesn't support v5 yet" and places the -gdwarf-4 flag to the global cflags confi
[BOLT] Fix DWARFv5 for aarch64
This patch reverts patch "DWARFv5 default: Switch bolt tests to use DWARFv4 since Bolt doesn't support v5 yet" and places the -gdwarf-4 flag to the global cflags config file.
Reviewed By: Amir
Differential Revision: https://reviews.llvm.org/D118283
show more ...
|
#
9407a701 |
| 24-Jan-2022 |
David Blaikie <dblaikie@gmail.com> |
DWARFv5 default: Switch bolt tests to use DWARFv4 since Bolt doesn't support v5 yet
Rough attempt to fix these, since I don't have bolt building locally. Will see how the buildbots go with it...
|
#
4a4045f7 |
| 08-Dec-2021 |
Elvina Yakubova <elvina.yakubova@huawei.com> |
[PR] Fix update-debug-sections for AArch64
Summary: This patch adds AArch64 relocations handling in case updating of debug sections is enabled
Elvina Yakubova, Advanced Software Technology Lab, Hua
[PR] Fix update-debug-sections for AArch64
Summary: This patch adds AArch64 relocations handling in case updating of debug sections is enabled
Elvina Yakubova, Advanced Software Technology Lab, Huawei
(cherry picked from FBD33077609)
show more ...
|
#
8331f75e |
| 04-Nov-2021 |
Amir Ayupov <aaupov@fb.com> |
[BOLT][TEST] Rename tests to follow standard naming scheme
Summary: The majority of tests in LLVM projects are using - instead of _ in the name, i.e. `check-something.test` is preferred over `check_
[BOLT][TEST] Rename tests to follow standard naming scheme
Summary: The majority of tests in LLVM projects are using - instead of _ in the name, i.e. `check-something.test` is preferred over `check_something.test`.
It makes sense for us to adopt the same naming scheme for our future tests and to rename existing ones.
(cherry picked from FBD32185879)
show more ...
|