| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Speculatively fix build bots This should address the issue found in: https://lab.llvm.org/buildbot/#/builders/215/builds/4610 | 4 年前 | |
[BOLT][TEST] Fix testing on macos - Fix common (arch-independent) tests to explicitly target -linux triple. - Override the triple inside arch-specific tests. - Add cflags to common tests. - Update individual tests. - Expand pipe stderr |& shorthand. Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D125548 | 4 年前 | |
[BOLT] Fix merge-fdata handling of BAT profiles When a profile is collected in a BOLTed binary, the generated profile is tagged with a header string "boltedcollection" in the first line of the fdata file. Fix merge-fdata to recognize this header string and preserve it into the output. Reviewed By: Amir Differential Revision: https://reviews.llvm.org/D125591 | 4 年前 | |
[BOLT] Fix merge-fdata handling of BAT profiles When a profile is collected in a BOLTed binary, the generated profile is tagged with a header string "boltedcollection" in the first line of the fdata file. Fix merge-fdata to recognize this header string and preserve it into the output. Reviewed By: Amir Differential Revision: https://reviews.llvm.org/D125591 | 4 年前 | |
[BOLT][TEST] Imported small tests Summary: Imported small internal tests: - keep_aranges.test - layout_heuristic.test - line_number.test - block_reordering.test - branch_data.test - reader.test (cherry picked from FBD31486371) | 4 年前 | |
[BOLT][TESTS] Remove dynamic relocations from YAML tests Summary: Our YAML objects contain references to dynamic relocations via .dynamic, but there are no corresponding relocation sections. Change .dynamic contents to specify no dynamic relocations. (cherry picked from FBD29502108) | 4 年前 | |
[BOLT] Handle broken .dynsym in stripped binaries Strip tools cause a few symbols in .dynsym to have bad section index. This update safely keeps such broken symbols intact. Test Plan: ninja check-bolt Reviewed By: Amir Differential Revision: https://reviews.llvm.org/D130073 | 3 年前 | |
[BOLT][TEST] Import small tests Summary: Imported small internal tests: - asm_func_debug.test - basic_instrumentation.test - bolt_icf.test - ctc_and_unreachable.test - double_jump.test - exceptions_args.test - exceptions_instrumentation.test - fptr.test (cherry picked from FBD32032684) | 4 年前 | |
Rebase: [BOLT] DebugFission Support Summary: Implemented support for Debug Fission. For the most part it doesn't impact Monolithic execution path. One area that was changed is the DW_AT_low_pc/DW_AT_high_pc conversion. Before it was to DW_AT_ranges/DW_AT_low_pc, now DW_AT_low_pc is kept in same place. Another more visible impact is in Skeleton CU the DW_AT_low_pc is replaced with DW_AT_ranges_base if it's not originally present and bolt converted ranges conversion inside the dwo units. Output of this are multiple .dwo files with updated debug information. (cherry picked from FBD29569788) | 5 年前 | |
Rebase: [BOLT] DebugFission Support Summary: Implemented support for Debug Fission. For the most part it doesn't impact Monolithic execution path. One area that was changed is the DW_AT_low_pc/DW_AT_high_pc conversion. Before it was to DW_AT_ranges/DW_AT_low_pc, now DW_AT_low_pc is kept in same place. Another more visible impact is in Skeleton CU the DW_AT_low_pc is replaced with DW_AT_ranges_base if it's not originally present and bolt converted ranges conversion inside the dwo units. Output of this are multiple .dwo files with updated debug information. (cherry picked from FBD29569788) | 5 年前 | |
[BOLT] Add aarch64 support for peephole passes Enable peephole optimizations for aarch64. Also small code refactoring - add PeepholeOpts under Peepholes class. Vladislav Khmelevsky, Advanced Software Technology Lab, Huawei Differential Revision: https://reviews.llvm.org/D118732 | 4 年前 | |
[BOLT][DWARF] Convert dwarf5-df-* tests to assembly tests Reviewed By: ayermolo Differential Revision: https://reviews.llvm.org/D126086 | 4 年前 | |
[BOLT][DWARF] Convert dwarf5-df-* tests to assembly tests Reviewed By: ayermolo Differential Revision: https://reviews.llvm.org/D126086 | 4 年前 | |
[BOLT][DWARF] Convert dwarf5-df-* tests to assembly tests Reviewed By: ayermolo Differential Revision: https://reviews.llvm.org/D126086 | 4 年前 | |
[BOLT][DWARF] Convert dwarf5-df-* tests to assembly tests Reviewed By: ayermolo Differential Revision: https://reviews.llvm.org/D126086 | 4 年前 | |
[BOLT][DWARF] Fix TU Index handling for DWARF4/5 When we generate split dwarf with -fdebug-types-section we will have .debug_types.dwo sections. These go into TU Index when we run llvm-dwp. BOLT was not handling DWP input correctly with this section. Added support for handling DWP with TU Index as an input and output for DWARF4. Added support for handling DWP with TU Index as an input for DWARF5 Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D126087 | 4 年前 | |
[BOLT][DWARF] Fix incorrect DW_AT_type offset for unittest Some unit tests has incorrect DW_AT_type offset since they are manual crafted, fix them to the correct offset. Reviewed By: Amir, ayermolo Differential Revision: https://reviews.llvm.org/D129828 | 3 年前 | |
[BOLT][DWARF] Fix assert for split dwarf. Fixing a small bug where it would assert if CU does not modify .debug_addr section. Differential Revision: https://reviews.llvm.org/D125181 | 4 年前 | |
[BOLT][DWARF] Add support for DW_AT_call_pc/DW_AT_call_return_pc DWARF 5 added two new attributes DW_AT_call_pc and DW_AT_call_return_pc. Adding support for them. Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D128526 | 3 年前 | |
[BOLT][DWARF] Add support for DW_AT_call_pc/DW_AT_call_return_pc DWARF 5 added two new attributes DW_AT_call_pc and DW_AT_call_return_pc. Adding support for them. Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D128526 | 3 年前 | |
[BOLT][DWARF] Convert dwarf5-df-* tests to assembly tests Reviewed By: ayermolo Differential Revision: https://reviews.llvm.org/D126086 | 4 年前 | |
[BOLT][DWARF] Convert dwarf5-df-* tests to assembly tests Reviewed By: ayermolo Differential Revision: https://reviews.llvm.org/D126086 | 4 年前 | |
[BOLT][DWARF] Convert dwarf5-df-* tests to assembly tests Reviewed By: ayermolo Differential Revision: https://reviews.llvm.org/D126086 | 4 年前 | |
[BOLT][DWARF] Convert dwarf5-df-* tests to assembly tests Reviewed By: ayermolo Differential Revision: https://reviews.llvm.org/D126086 | 4 年前 | |
[BOLT][DWARF] Convert dwarf5-df-* tests to assembly tests Reviewed By: ayermolo Differential Revision: https://reviews.llvm.org/D126086 | 4 年前 | |
[BOLT][DWARF] Convert dwarf5-df-* tests to assembly tests Reviewed By: ayermolo Differential Revision: https://reviews.llvm.org/D126086 | 4 年前 | |
[BOLT][DWARF] Support mix mode DWARF Added support for mixing monolithic DWARF5 with legacy DWARF, and monolithic legacy and DWARF5 split dwarf. Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D128232 | 3 年前 | |
[BOLT][DWARF] Support mix mode DWARF Added support for mixing monolithic DWARF5 with legacy DWARF, and monolithic legacy and DWARF5 split dwarf. Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D128232 | 3 年前 | |
[BOLT][DWARF] Support mix mode DWARF Added support for mixing monolithic DWARF5 with legacy DWARF, and monolithic legacy and DWARF5 split dwarf. Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D128232 | 3 年前 | |
[BOLT][DWARF] Support mix mode DWARF Added support for mixing monolithic DWARF5 with legacy DWARF, and monolithic legacy and DWARF5 split dwarf. Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D128232 | 3 年前 | |
[BOLT][DWARF] Fix TU Index handling for DWARF4/5 When we generate split dwarf with -fdebug-types-section we will have .debug_types.dwo sections. These go into TU Index when we run llvm-dwp. BOLT was not handling DWP input correctly with this section. Added support for handling DWP with TU Index as an input and output for DWARF4. Added support for handling DWP with TU Index as an input for DWARF5 Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D126087 | 4 年前 | |
[BOLT][DWARF] Convert dwarf5-df-* tests to assembly tests Reviewed By: ayermolo Differential Revision: https://reviews.llvm.org/D126086 | 4 年前 | |
[BOLT][DWARF] Fix incorrect DW_AT_type offset for unittest Some unit tests has incorrect DW_AT_type offset since they are manual crafted, fix them to the correct offset. Reviewed By: Amir, ayermolo Differential Revision: https://reviews.llvm.org/D129828 | 3 年前 | |
[BOLT][DWARF] Fix incorrect DW_AT_type offset for unittest Some unit tests has incorrect DW_AT_type offset since they are manual crafted, fix them to the correct offset. Reviewed By: Amir, ayermolo Differential Revision: https://reviews.llvm.org/D129828 | 3 年前 | |
[BOLT][DWARF] Add support for DW_AT_call_pc/DW_AT_call_return_pc DWARF 5 added two new attributes DW_AT_call_pc and DW_AT_call_return_pc. Adding support for them. Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D128526 | 3 年前 | |
[BOLT][DWARF] Add support for DW_AT_call_pc/DW_AT_call_return_pc DWARF 5 added two new attributes DW_AT_call_pc and DW_AT_call_return_pc. Adding support for them. Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D128526 | 3 年前 | |
[BOLT][DWARF] Support mix mode DWARF Added support for mixing monolithic DWARF5 with legacy DWARF, and monolithic legacy and DWARF5 split dwarf. Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D128232 | 3 年前 | |
[BOLT][DWARF] Support mix mode DWARF Added support for mixing monolithic DWARF5 with legacy DWARF, and monolithic legacy and DWARF5 split dwarf. Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D128232 | 3 年前 | |
[BOLT][DWARF] Implement monolithic DWARF5 Added implementation to support DWARF5 in monolithic mode. Next step DWARF5 split dwarf support. Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D121876 | 4 年前 | |
[BOLT][DWARF] Implement monolithic DWARF5 Added implementation to support DWARF5 in monolithic mode. Next step DWARF5 split dwarf support. Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D121876 | 4 年前 | |
[BOLT][DWARF] Fix gdb index section Since we now re-write .debug_info the DWARF CU Offsets can change. Just like for .debug_aranges the GDB Index will need to be updated. Reviewed By: Amir, maksfb Differential Revision: https://reviews.llvm.org/D118273 | 4 年前 | |
[BOLT][DWARF] Fix gdb index section Since we now re-write .debug_info the DWARF CU Offsets can change. Just like for .debug_aranges the GDB Index will need to be updated. Reviewed By: Amir, maksfb Differential Revision: https://reviews.llvm.org/D118273 | 4 年前 | |
[BOLT][TEST] Imported small tests Summary: Imported small internal tests: - cfi_instrs_reordered.s - no_entry_reordering.test - no_relocs.test - pie.test (cherry picked from FBD31514823) | 4 年前 | |
[BOLT][TEST] Add section flags for .gcc_except_table clang-10 complains about changed section flags in two tests: - X86/shrinkwrapping.test - X86/exceptions-args.test Fix that by adding the missing flags. Reviewed By: yota9 Differential Revision: https://reviews.llvm.org/D119014 | 4 年前 | |
[BOLT][TEST] Imported small tests Summary: Imported small internal tests: - shared_object.test - shrinkwrapping.test - static_exe.test - tailcall.test - vararg.test (cherry picked from FBD31523478) | 4 年前 | |
[BOLT][TEST] Add section flags for .gcc_except_table clang-10 complains about changed section flags in two tests: - X86/shrinkwrapping.test - X86/exceptions-args.test Fix that by adding the missing flags. Reviewed By: yota9 Differential Revision: https://reviews.llvm.org/D119014 | 4 年前 | |
[BOLT][TEST] Import small tests Summary: Imported small internal tests: - fallthrough-to-noop.test (cherry picked from FBD32158100) | 4 年前 | |
[BOLT][TEST] Imported small tests Summary: Imported small internal tests: - indirect_goto.test - indirect_goto_pie.test - inlined_function_mixed.test (cherry picked from FBD31446571) | 4 年前 | |
[BOLT][TEST] Fix test failures on AArch64 builder Address X86 tests failures on AArch64 builder: https://lab.llvm.org/staging/#/builders/211/builds/82 Inputs fail to cross-compile due to a missing header: /usr/include/stdio.h:27:10: fatal error: 'bits/libc-header-start.h' file not found #include <bits/libc-header-start.h> As inputs are linked with -nostdlib anyway, don't include stdio.h. Reviewed By: yota9 Differential Revision: https://reviews.llvm.org/D124863 | 4 年前 | |
[BOLT][NFC] Fix debug info printouts for inlined functions Summary: While printing debug info for instructions, we should use line tables from the corresponding DWARF CU which could be different from the containing function CU in case of inlined instructions. (cherry picked from FBD28908324) | 4 年前 | |
[BOLT][TEST] Imported small tests Summary: Imported small internal tests: - indirect_goto.test - indirect_goto_pie.test - inlined_function_mixed.test (cherry picked from FBD31446571) | 4 年前 | |
[BOLT][TEST] Imported small tests Summary: Imported small internal tests: - indirect_goto.test - indirect_goto_pie.test - inlined_function_mixed.test (cherry picked from FBD31446571) | 4 年前 | |
[BOLT][TESTS] Remove dynamic relocations from YAML tests Summary: Our YAML objects contain references to dynamic relocations via .dynamic, but there are no corresponding relocation sections. Change .dynamic contents to specify no dynamic relocations. (cherry picked from FBD29502108) | 4 年前 | |
[BOLT][TESTS] Remove dynamic relocations from YAML tests Summary: Our YAML objects contain references to dynamic relocations via .dynamic, but there are no corresponding relocation sections. Change .dynamic contents to specify no dynamic relocations. (cherry picked from FBD29502108) | 4 年前 | |
[BOLT][TEST] Imported small tests Summary: Imported small internal tests: - jmp_optimization.test - jmpjmp.test - jump_table_footprint_reduction.test - jump_table_reference.test (cherry picked from FBD31483122) | 4 年前 | |
[BOLT][TEST] Imported small tests Summary: Imported small internal tests: - jmp_optimization.test - jmpjmp.test - jump_table_footprint_reduction.test - jump_table_reference.test (cherry picked from FBD31483122) | 4 年前 | |
[BOLT][TEST] Imported small tests Summary: Imported small internal tests: - jmp_optimization.test - jmpjmp.test - jump_table_footprint_reduction.test - jump_table_reference.test (cherry picked from FBD31483122) | 4 年前 | |
[BOLT][TEST] Imported small tests Summary: Imported small internal tests: - jmp_optimization.test - jmpjmp.test - jump_table_footprint_reduction.test - jump_table_reference.test (cherry picked from FBD31483122) | 4 年前 | |
[BOLT] Make order of jump table successors deterministic When a jump table is recovered in postProcessIndirectBranches(), successors for the containing basic block are added in random order. Make the order deterministic. Reviewed By: yota9 Differential Revision: https://reviews.llvm.org/D119672 | 4 年前 | |
[BOLT][TEST] Imported small tests Summary: Imported small internal tests: - jmp_optimization.test - jmpjmp.test - jump_table_footprint_reduction.test - jump_table_reference.test (cherry picked from FBD31483122) | 4 年前 | |
[BOLT][TEST] Import jump-table-icp.test, update link_fdata script Summary: Import the test. The assembly input has three functions with associated fdata. The old link_fdata.sh script only replaces the symbol names with symbol values, whereas fdata format expects to have symbol offsets against the anchor symbol. Introduce the link_fdata.py script which is able to parse the input and produce either an offset or an absolute symbol value. (cherry picked from FBD32256351) | 4 年前 | |
[BOLT][TEST] Imported small tests Summary: Imported small internal tests: - jmp_optimization.test - jmpjmp.test - jump_table_footprint_reduction.test - jump_table_reference.test (cherry picked from FBD31483122) | 4 年前 | |
[BOLT][TEST] Imported small tests Summary: Imported small internal tests: - keep_aranges.test - layout_heuristic.test - line_number.test - block_reordering.test - branch_data.test - reader.test (cherry picked from FBD31486371) | 4 年前 | |
[BOLT][TEST] Import small tests Summary: Imported small internal tests. (cherry picked from FBD32371964) | 4 年前 | |
[BOLT][TEST] Import small tests Summary: Imported small internal tests. (cherry picked from FBD32405870) | 4 年前 | |
[BOLT] Support PLT sections with variable entry sizes Summary: The linker can generate 8- or 16-byte entries in .plt.got and .plt.sec sections. On X86, the main differentiator is the presence of endbr64 instruction at the beginning of the entry. Detect the instruction and adjust the size accordingly. (cherry picked from FBD29847639) | 4 年前 | |
[BOLT] Support PLT sections with variable entry sizes Summary: The linker can generate 8- or 16-byte entries in .plt.got and .plt.sec sections. On X86, the main differentiator is the presence of endbr64 instruction at the beginning of the entry. Detect the instruction and adjust the size accordingly. (cherry picked from FBD29847639) | 4 年前 | |
[BOLT] Add support for .plt.sec and refactor PLT-reading code Summary: A binary can contain multiple PLT sections with different name and attributes (such as an entry size). Extend the support to .plt.sec and refactor the code to make future extensions simpler. (cherry picked from FBD29502107) | 4 年前 | |
[BOLT] Add parser for pre-aggregated perf data Summary: The regular perf2bolt aggregation job is to read perf output directly. However, if the data is coming from a database instead of perf, one could write a query to produce a pre-aggregated file. This function deals with this case. The pre-aggregated file contains aggregated LBR data, but without binary knowledge. BOLT will parse it and, using information from the disassembled binary, augment it with fall-through edge frequency information. After this step is finished, this data can be either written to disk to be consumed by BOLT later, or can be used by BOLT immediately if kept in memory. File format syntax: {B|F|f} [<start_id>:]<start_offset> [<end_id>:]<end_offset> <count> [<mispred_count>] B - indicates an aggregated branch F - an aggregated fall-through (trace) f - an aggregated fall-through with external origin - used to disambiguate between a return hitting a basic block head and a regular internal jump to the block <start_id> - build id of the object containing the start address. We can skip it for the main binary and use "X" for an unknown object. This will save some space and facilitate human parsing. <start_offset> - hex offset from the object base load address (0 for the main executable unless it's PIE) to the start address. <end_id>, <end_offset> - same for the end address. <count> - total aggregated count of the branch or a fall-through. <mispred_count> - the number of times the branch was mispredicted. Omitted for fall-throughs. Example F 41be50 41be50 3 F 41be90 41be90 4 f 41be90 41be90 7 B 4b1942 39b57f0 3 0 B 4b196f 4b19e0 2 0 (cherry picked from FBD8887182) | 7 年前 | |
[BOLT][TEST] Imported small tests Summary: Imported small internal tests: - re-optimize.test - relaxed_tailcall.test - remove_unused.test - retpoline_synthetic.test (cherry picked from FBD31516680) | 4 年前 | |
[BOLT][TEST] Import small tests Summary: Imported small internal tests. (cherry picked from FBD32371964) | 4 年前 | |
[BOLT][TEST] Imported small tests Summary: Imported small internal tests: - sctc_bug{,2,3,4}.test (cherry picked from FBD31517120) | 4 年前 | |
[BOLT][TEST] Imported small tests Summary: Imported small internal tests: - sctc_bug{,2,3,4}.test (cherry picked from FBD31517120) | 4 年前 | |
[BOLT][TEST] Imported small tests Summary: Imported small internal tests: - sctc_bug{,2,3,4}.test (cherry picked from FBD31517120) | 4 年前 | |
[BOLT][TEST] Imported small tests Summary: Imported small internal tests: - sctc_bug{,2,3,4}.test (cherry picked from FBD31517120) | 4 年前 | |
[BOLT][TEST] Import small tests Summary: Imported small internal tests. (cherry picked from FBD32405870) | 4 年前 | |
[BOLT][TESTS] Remove dynamic relocations from YAML tests Summary: Our YAML objects contain references to dynamic relocations via .dynamic, but there are no corresponding relocation sections. Change .dynamic contents to specify no dynamic relocations. (cherry picked from FBD29502108) | 4 年前 | |
[BOLT][TEST] Imported small tests Summary: Imported small internal tests: - shared_object.test - shrinkwrapping.test - static_exe.test - tailcall.test - vararg.test (cherry picked from FBD31523478) | 4 年前 | |
[BOLT][TEST] Imported small tests Summary: Imported small internal tests: - shared_object.test - shrinkwrapping.test - static_exe.test - tailcall.test - vararg.test (cherry picked from FBD31523478) | 4 年前 | |
[BOLT][test] Fix X86 cross-platform tests Use target-specific flags for building X86 non-runnable tests. Reviewed By: Amir Differential Revision: https://reviews.llvm.org/D123072 | 4 年前 | |
[BOLT][test] Fix X86 tests Differential Revision: https://reviews.llvm.org/D123133 | 4 年前 | |
[BOLT][TEST] Import small tests Summary: Imported small internal tests. (cherry picked from FBD32405870) | 4 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 3 年前 | ||
| 4 年前 | ||
| 5 年前 | ||
| 5 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 3 年前 | ||
| 4 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 7 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 |