[PATCH] D75291: Rename "llvm-gsym" and "llvm-gsymutil" to "gsymutil".
Greg Clayton via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 27 23:35:41 PST 2020
clayborg updated this revision to Diff 247169.
clayborg added a comment.
Remove an extra fix for triples that I will commit with a new patch.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75291/new/
https://reviews.llvm.org/D75291
Files:
llvm/tools/llvm-gsym/CMakeLists.txt
llvm/tools/llvm-gsym/llvm-gsymutil.cpp
llvm/tools/llvm-gsymutil/CMakeLists.txt
llvm/tools/llvm-gsymutil/llvm-gsymutil.cpp
llvm/utils/gn/secondary/llvm/test/BUILD.gn
llvm/utils/gn/secondary/llvm/tools/llvm-gsym/BUILD.gn
llvm/utils/gn/secondary/llvm/tools/llvm-gsymutil/BUILD.gn
Index: llvm/utils/gn/secondary/llvm/tools/llvm-gsymutil/BUILD.gn
===================================================================
--- llvm/utils/gn/secondary/llvm/tools/llvm-gsymutil/BUILD.gn
+++ llvm/utils/gn/secondary/llvm/tools/llvm-gsymutil/BUILD.gn
@@ -1,9 +1,7 @@
executable("llvm-gsymutil") {
deps = [
- "//llvm/lib/CodeGen/AsmPrinter",
"//llvm/lib/DebugInfo/DWARF",
"//llvm/lib/DebugInfo/GSYM",
- "//llvm/lib/MC",
"//llvm/lib/Object",
"//llvm/lib/Support",
"//llvm/lib/Target",
Index: llvm/utils/gn/secondary/llvm/test/BUILD.gn
===================================================================
--- llvm/utils/gn/secondary/llvm/test/BUILD.gn
+++ llvm/utils/gn/secondary/llvm/test/BUILD.gn
@@ -216,7 +216,7 @@
"//llvm/tools/llvm-elfabi",
"//llvm/tools/llvm-exegesis",
"//llvm/tools/llvm-extract",
- "//llvm/tools/llvm-gsym:llvm-gsymutil",
+ "//llvm/tools/llvm-gsymutil:llvm-gsymutil"
"//llvm/tools/llvm-ifs",
"//llvm/tools/llvm-isel-fuzzer",
"//llvm/tools/llvm-jitlink",
Index: llvm/tools/llvm-gsymutil/llvm-gsymutil.cpp
===================================================================
--- llvm/tools/llvm-gsymutil/llvm-gsymutil.cpp
+++ llvm/tools/llvm-gsymutil/llvm-gsymutil.cpp
@@ -1,4 +1,4 @@
-//===-- llvm-gsymutil.cpp - GSYM dumping and creation utility for llvm ----===//
+//===-- gsymutil.cpp - GSYM dumping and creation utility for llvm ---------===//
//
// The LLVM Compiler Infrastructure
//
@@ -428,10 +428,7 @@
PrettyStackTraceProgram X(argc, argv);
llvm_shutdown_obj Y; // Call llvm_shutdown() on exit.
- llvm::InitializeAllTargetInfos();
- llvm::InitializeAllTargetMCs();
llvm::InitializeAllTargets();
- llvm::InitializeAllAsmPrinters();
const char *Overview =
"A tool for dumping, searching and creating GSYM files.\n\n"
Index: llvm/tools/llvm-gsymutil/CMakeLists.txt
===================================================================
--- llvm/tools/llvm-gsymutil/CMakeLists.txt
+++ llvm/tools/llvm-gsymutil/CMakeLists.txt
@@ -2,10 +2,6 @@
${LLVM_TARGETS_TO_BUILD}
DebugInfoDWARF
DebugInfoGSYM
- AsmPrinter
- AllTargetsDescs
- AllTargetsInfos
- MC
Object
Support
Target
@@ -14,6 +10,4 @@
add_llvm_tool(llvm-gsymutil
llvm-gsymutil.cpp
- DEPENDS
- intrinsics_gen
)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75291.247169.patch
Type: text/x-patch
Size: 2346 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200228/1472ca69/attachment.bin>
More information about the llvm-commits
mailing list