| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[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) | 4 年前 | |
Speculatively fix build bots This should address build failures found in: https://lab.llvm.org/buildbot/#/builders/217/builds/3610 https://lab.llvm.org/buildbot/#/builders/215/builds/4609 https://lab.llvm.org/buildbot/#/builders/68/builds/31012 | 4 年前 | |
[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 年前 | |
[BOLT][DWARF] Force allocation of debug_line in RuntimeDyld Summary: Currently, RuntimeDyld will not allocate a section without relocations even if such a section is marked allocatable and defines symbols. When we emit .debug_line for compile units with unchanged code, we output original (input) data, without relocations. If all units are emitted in this way, we will have no relocations in the emitted .debug_line. RuntimeDyld will not allocate the section and as a result we will write an empty .debug_line section. To workaround the issue, always emit a relocation of RELOC_NONE type when emitting raw contents to debug_line. (cherry picked from FBD32909869) | 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][TEST] Import small tests Summary: Imported small internal tests: - fallthrough-to-noop.test (cherry picked from FBD32158100) | 4 年前 | |
[BOLT][TEST] Import small tests Summary: Imported small internal tests: - fallthrough-to-noop.test (cherry picked from FBD32158100) | 4 年前 | |
[BOLT] Add .iplt support to x86 (#106513) Add X86 support for parsing .iplt section and symbols. | 1 年前 | |
[BOLT] Support computed goto and allow map addrs inside functions (#120267) Create entry points for addresses referenced by dynamic relocations and allow getNewFunctionOrDataAddress to map addrs inside functions. By adding addresses referenced by dynamic relocations as entry points. This patch fixes an issue where bolt fails on code using computing goto's. This also fixes a mapping issue with the bugfix from this PR: https://github.com/llvm/llvm-project/pull/117766. | 1 年前 | |
[BOLT] Add .iplt support to x86 (#106513) Add X86 support for parsing .iplt section and symbols. | 1 年前 | |
[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] Add dump-dot-func option for selective function CFG dumping (#153007) ## Change: * Added --dump-dot-func command-line option that allows users to dump CFGs only for specific functions instead of dumping all functions (the current only available option being --dump-dot-all) ## Usage: * Users can now specify function names or regex patterns (e.g., --dump-dot-func=main,helper or --dump-dot-func="init.*") to generate .dot files only for functions of interest * Aims to save time when analysing specific functions in large binaries (e.g., only dumping graphs for performance-critical functions identified through profiling) and we can now avoid reduce output clutter from generating thousands of unnecessary .dot files when analysing large binaries ## Testing The introduced test dump-dot-func.test confirms the new option does the following: - [x] 1. dump-dot-func can correctly filter a specified functions - [x] 2. Can achieve the above with regexes - [x] 3. Can do 1. with a list of functions - [x] No option specified creates no dot files - [x] Passing in a non-existent function generates no dumping messages - [x] dump-dot-all continues to work as expected | 11 个月前 | |
[BOLT][AArch64] Implement PLTCall optimization (#93584) convertCallToIndirectCall applies the PLTCall optimization and returns an (updated if needed) iterator to the converted call instruction. Since AArch64 requires to inject additional instructions to implement this pass, the relevant BasicBlock and an iterator was passed to the convertCallToIndirectCall. NumCallsOptimized is updated only on successful application of the pass. Tests: - Inputs/plt-tailcall.c: an example of a tail call optimized PLT call. - AArch64/plt-call.test: it is the actual A64 test, that runs the PLTCall optimization on the above input file and verifies the application of the pass to the calls: 'printf' and 'puts'. | 2 年前 | |
[BOLT] Fix plt relocations symbol match The bfd linker adds the symbol versioning string to the symbol name in symtab. Skip the versioning part in order to find the registered PLT function. Vladislav Khmelevsky, Advanced Software Technology Lab, Huawei Differential Revision: https://reviews.llvm.org/D122039 | 4 年前 | |
[BOLT] Add writable segment for allocatable sections The golang support creates 2 new data segments, one of them contains relocations in PIC binaries, so the section must have writable rights. Currently BOLT creates only one new segment that contains new sections with RX rights, now also create RW segment if there are any new writable sections were allocated during BOLT binary processing. Vladislav Khmelevsky, Advanced Software Technology Lab, Huawei Differential Revision: https://reviews.llvm.org/D143390 | 3 年前 | |
[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][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][TEST] Reduce vararg.test Summary: Reduce assembly inputs to vararg.test using CReduce (cherry picked from FBD32405869) | 4 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 4 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 4 年前 | ||
| 3 年前 | ||
| 4 年前 | ||
| 4 年前 | ||
| 4 年前 |