[llvm] 7a2c1ac - [llvm-dwarfdump] Add comment saying where DumpDebugFrame comes from
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 2 06:56:50 PDT 2021
Author: Nico Weber
Date: 2021-07-02T09:56:21-04:00
New Revision: 7a2c1acd5fef32bdd2e374229f66ab047c7538b5
URL: https://github.com/llvm/llvm-project/commit/7a2c1acd5fef32bdd2e374229f66ab047c7538b5
DIFF: https://github.com/llvm/llvm-project/commit/7a2c1acd5fef32bdd2e374229f66ab047c7538b5.diff
LOG: [llvm-dwarfdump] Add comment saying where DumpDebugFrame comes from
Added:
Modified:
llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
Removed:
################################################################################
diff --git a/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp b/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
index f099d4e45279d..1180e029f2553 100644
--- a/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
+++ b/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
@@ -144,6 +144,7 @@ static std::array<llvm::Optional<uint64_t>, (unsigned)DIDT_ID_Count>
#include "llvm/BinaryFormat/Dwarf.def"
#undef HANDLE_DWARF_SECTION
+// The aliased DumpDebugFrame is created by the Dwarf.def x-macro just above.
static alias DumpDebugFrameAlias("eh-frame", desc("Alias for --debug-frame"),
NotHidden, cat(SectionCategory),
aliasopt(DumpDebugFrame));
More information about the llvm-commits
mailing list