| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[ELF] Claim recognized -z options. NFC ... so that we can reimplement checkZOptions using https://reviews.llvm.org/D48433 | 2 年前 | |
[lld][macho] Strip .__uniq. and .llvm. hashes in -order_file (#140670) /// Symbols can be appended with "(.__uniq.xxxx)?.llvm.yyyy" where "xxxx" and /// "yyyy" are numbers that could change between builds. We need to use the root /// symbol name before this suffix so these symbols can be matched with profiles /// which may have different suffixes. Just like what we are doing in BP, https://github.com/llvm/llvm-project/blob/main/lld/MachO/BPSectionOrderer.cpp#L127 the patch removes the suffixes when parsing the order file and getting the symbol priority to have a better symbol match. --------- Co-authored-by: Sharon Xu <sharonxu@fb.com> Co-authored-by: Ellis Hoag <ellis.sparky.hoag@gmail.com> | 1 年前 | |
[lld-macho] Don't include CommandFlags.h in CommonLinkerContext.h Main motivation: including llvm/CodeGen/CommandFlags.h in CommonLinkerContext.h means that the declaration of llvm::Reloc is visible in any file that includes CommonLinkerContext.h. Since our cpp files have both using namespace llvm and using namespace lld::macho, this results in conflicts with lld::macho::Reloc. I suppose we could put llvm::Reloc into a nested namespace, but in general, I think we should avoid transitively including too many header files in a very widely used header like CommonLinkerContext.h. RegisterCodeGenFlags' ctor initializes a bunch of function-static structures and does nothing else, so it should be fine to "initialize" it as a temporary stack variable rather than as a file static. Reviewed By: aganea Differential Revision: https://reviews.llvm.org/D119913 | 4 年前 | |
[Symbolizer] Support for Missing Line Numbers. (#82240) LLVM Symbolizer attempt to symbolize addresses of optimized binaries reports missing line numbers for some cases. It maybe due to compiler which sometimes cannot map an instruction to line number due to optimizations. Symbolizer should handle those cases gracefully. Adding an option '--skip-line-zero' to symbolizer so as to report the nearest non-zero line number. --------- Co-authored-by: Amit Pandey <amit.pandey@amd.com> | 1 年前 | |
[ADT] Deprecate StringSwitch Cases with 3+ args. NFC. (#165119) Suggest the initializer_list overload instead. 3+ args is an arbitrary number that allows for incremental depreciation without having to update too many call sites. For more context, see https://github.com/llvm/llvm-project/pull/163117. | 9 个月前 | |
[lld] Remove unused includes (NFC) (#141421) | 1 年前 | |
[LLD][COFF] Add support for --time-trace (#68236) This adds support for generating Chrome-tracing .json profile traces in the LLD COFF driver. Also add the necessary time scopes, so that the profile trace shows in great detail which tasks are executed. As an example, this is what we see when linking a Unreal Engine executable:  | 2 年前 | |
Re-land [LLD] Remove global state in lldCommon Move all variables at file-scope or function-static-scope into a hosting structure (lld::CommonLinkerContext) that lives at lldMain()-scope. Drivers will inherit from this structure and add their own global state, in the same way as for the existing COFFLinkerContext. See discussion in https://lists.llvm.org/pipermail/llvm-dev/2021-June/151184.html The previous land f860fe362282ed69b9d4503a20e5d20b9a041189 caused issues in https://lab.llvm.org/buildbot/#/builders/123/builds/8383, fixed by 22ee510dac9440a74b2e5b3fe3ff13ccdbf55af3. Differential Revision: https://reviews.llvm.org/D108850 | 4 年前 | |
[lld] StringRef::{starts,ends}with => {starts,ends}_with. NFC The latter form is now preferred to be similar to C++20 starts_with. This replacement also removes one function call when startswith is not inlined. | 3 年前 | |
[lld] Initialize SingleStringMatcher::ExactMatch (#123138) It was not set false in all branches. | 1 年前 | |
[NFC][TargetParser] Remove llvm/ADT/Triple.h I also ran git clang-format to get the headers in the right order for the new location, which has changed the order of other headers in two files. | 3 年前 | |
[llvm] Add missing StringExtras.h includes In preparation for removing the #include "llvm/ADT/StringExtras.h" from the header to source file of llvm/Support/Error.h, first add in all the missing includes that were previously included transitively through this header. | 3 年前 | |
[lld][macho] Strip .__uniq. and .llvm. hashes in -order_file (#140670) /// Symbols can be appended with "(.__uniq.xxxx)?.llvm.yyyy" where "xxxx" and /// "yyyy" are numbers that could change between builds. We need to use the root /// symbol name before this suffix so these symbols can be matched with profiles /// which may have different suffixes. Just like what we are doing in BP, https://github.com/llvm/llvm-project/blob/main/lld/MachO/BPSectionOrderer.cpp#L127 the patch removes the suffixes when parsing the order file and getting the symbol priority to have a better symbol match. --------- Co-authored-by: Sharon Xu <sharonxu@fb.com> Co-authored-by: Ellis Hoag <ellis.sparky.hoag@gmail.com> | 1 年前 | |
[LLD] Fix preprocessor condition when getting lld version (#98137) | 2 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 年前 | ||
| 1 年前 | ||
| 4 年前 | ||
| 1 年前 | ||
| 9 个月前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 4 年前 | ||
| 3 年前 | ||
| 1 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 1 年前 | ||
| 2 年前 |