This patch does the same thing as r365595 to other subdirectories,
which completes the naming style change for the entire lld directory.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 34679 Build 34678: arc lint + arc unit
Event Timeline
lld/COFF/Chunks.h | ||
---|---|---|
102–103 | Should it be osIdx perhaps? | |
lld/COFF/DebugTypes.cpp | ||
263 | pdbFile? | |
lld/COFF/Driver.h | ||
124 | mbRef? | |
lld/COFF/InputFiles.cpp | ||
139 | coffObj? | |
lld/wasm/SymbolTable.cpp | ||
520–521 | It looks unformatted. Perhaps you could apply the clang format at the same time? | |
lld/wasm/SyntheticSections.h | ||
289 | sDKs looks strange. sdks? |
lld/COFF/Driver.h | ||
---|---|---|
124 | I think this is fine. | |
lld/wasm/SymbolTable.cpp | ||
520–521 | It is intentional that I did not run clang-format, as some code was intended to not be formatted using clang-format. I don't judge whether that expectation is good or not, but I wanted to avoid the problem by not running clang-format to this patch. If we do, we'd virtually apply clang-format to the entire code base. That might be a good thing but needs a separate discussion. |
Many variables in assert and LLVM_DEBUG are not processed. You probably need to apply the tool on a debug (or -DLLVM_ENABLE_ASSERTIONS=on) build .
lld/wasm/Symbols.cpp | ||
---|---|---|
96 | outputSymbolIndex | |
101 | name index | |
103 | outputSymbolIndex | |
108 | name index | |
109 | gotIndex | |
191 | assert(tableIndex == INVALID_INDEX); | |
lld/wasm/Symbols.h | ||
115 | gotIndex |
lld/COFF/Driver.cpp | ||
---|---|---|
126 | This tool doesn't handle argument comments like /*FileSize*/ . But I think it is fine to update them in another commit. |
I'm trying to merge this into our fork. The previous ELF patch was fine, but for this commit I'm having issues because the tool in D64123 doesn't produce this exact result, and so running it on our tree produces a ton of conflicts. Did you use a modified clang-llvm-rename for this (and if so could you please upload it), or are all the discrepancies changes you made by hand afterwards (or with a separate script you would be able to provide)?
Should it be osIdx perhaps?