[lld] [lld] Support order cstrings with -order_file_cstring (PR #140307)
Ellis Hoag via llvm-commits
llvm-commits at lists.llvm.org
Fri May 16 15:37:30 PDT 2025
================
@@ -337,15 +337,15 @@ static InputFile *addFile(StringRef path, LoadType loadType,
for (const object::Archive::Child &c : file->getArchive().children(e)) {
StringRef reason;
switch (loadType) {
- case LoadType::LCLinkerOption:
- reason = "LC_LINKER_OPTION";
- break;
- case LoadType::CommandLineForce:
- reason = "-force_load";
- break;
- case LoadType::CommandLine:
- reason = "-all_load";
- break;
+ case LoadType::LCLinkerOption:
+ reason = "LC_LINKER_OPTION";
+ break;
+ case LoadType::CommandLineForce:
+ reason = "-force_load";
+ break;
+ case LoadType::CommandLine:
+ reason = "-all_load";
+ break;
----------------
ellishg wrote:
Please remove whitespace changes here and in `lld/MachO/SyntheticSections.cpp`.
https://github.com/llvm/llvm-project/pull/140307
More information about the llvm-commits
mailing list