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
Unit Tests
Time | Test | |
---|---|---|
130 ms | LLVM.tools/gsymutil::Unknown Unit Message ("") |
Event Timeline
llvm/tools/gsymutil/gsymutil.cpp | ||
---|---|---|
432 | This is not a rename? |
llvm/tools/gsymutil/gsymutil.cpp | ||
---|---|---|
430–431 | Can you recheck whether the remaining are all needed? |
llvm/tools/gsymutil/gsymutil.cpp | ||
---|---|---|
430–431 | 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. | |
432 | 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/gsymutil/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?