[llvm] r314817 - [dwarfdump] Add -lookup option
Adrian Prantl via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 6 13:57:30 PDT 2017
> On Oct 3, 2017, at 10:10 AM, Jonas Devlieghere via llvm-commits <llvm-commits at lists.llvm.org> wrote:
>
> Author: jdevlieghere
> Date: Tue Oct 3 10:10:21 2017
> New Revision: 314817
>
> URL: http://llvm.org/viewvc/llvm-project?rev=314817&view=rev
> Log:
> [dwarfdump] Add -lookup option
>
> Add the option to lookup an address in the debug information and print
> out the file, function, block and line table details.
>
> Differential revision: https://reviews.llvm.org/D38409
>
> Added:
> llvm/trunk/test/tools/llvm-dwarfdump/X86/lookup.s
> Modified:
> llvm/trunk/include/llvm/DebugInfo/DIContext.h
> llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFContext.h
> llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFUnit.h
> llvm/trunk/lib/DebugInfo/DWARF/DWARFContext.cpp
> llvm/trunk/lib/DebugInfo/DWARF/DWARFUnit.cpp
> llvm/trunk/test/tools/llvm-dwarfdump/cmdline.test
> llvm/trunk/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
>
>
Was this an intentional change?
> static alias OutputFilenameAlias("o", desc("Alias for -out-file"),
> - aliasopt(OutputFilename),
> - cat(DwarfDumpCategory));
> + aliasopt(OutputFilename));
-- adrian
More information about the llvm-commits
mailing list