This patch renames the llvm-gsymutil tool to "gsymutil" along with all directories and build files. Also removed the unneeded deps from the "gsymutil" tool to allow gsymutil to link against less things.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/tools/llvm-gsym/llvm-gsymutil.cpp | ||
---|---|---|
434 | This is not a rename? |
llvm/tools/llvm-gsym/llvm-gsymutil.cpp | ||
---|---|---|
432 | Can you recheck whether the remaining are all needed? |
llvm/tools/llvm-gsym/llvm-gsymutil.cpp | ||
---|---|---|
432 | If I removed all InitializeAllTargetInfos and InitializeAllTargetMCs I got errors when trying to load object files. I didn't try them individually though, so I will try that. | |
434 | Yeah, I modified the description after submitting to say "Also removed the AsmPrinter from the dependencies.". |
Removed more dependencies from the "gsymutil" tool and removed uneeded function calls.
llvm/tools/llvm-gsym/llvm-gsymutil.cpp | ||
---|---|---|
431 | I was able to remove more. |
I was the one to suggest this name, since I found it inconsistent to have dsymutil but llvm-gsymutil. The others are mostly called llvm- to differentiate them from preexisting tools with the same name. I don't think it's necessary for a new tool; unless we want the prefix there it for marketing reasons?
Renamed back to llvm-gsymutil for everything. So this patch now is renaming from llvm-gsym to llvm-gsymutil for the tool directory.
Hello @clayborg ,
this patch is breaking shared libs builds (cmake path/to/llvm -DBUILD_SHARED_LIBS=ON).
Could you please fix it?
Regards,
Francesco
Reverting this patch locally worked for me yesterday, so I assumed it was this patch causing the problem. When I pulled upstream today everything was working, so I must have done something wrong. In any case, thank you for double checking.
Francesco
Can you recheck whether the remaining are all needed?