From d900f82d61f495ce128b99de4d35cccb8bf1e8be Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Tue, 19 Dec 2017 09:45:26 +0000 Subject: [PATCH] [dwarfdump] Lookup needs to be an unsigned long long parameter. Before this patch, dwarfdump's lookup parameter only accepts unsigned. Given that for many current platforms the load address already exceeds unsigned (e.g. arm64 w/ 0x100000000), dwarfdump needs an unsigned long long parameter. Patch by: Dr. Michael 'Mickey' Lauer git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321064 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-dwarfdump/llvm-dwarfdump.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/llvm-dwarfdump/llvm-dwarfdump.cpp b/tools/llvm-dwarfdump/llvm-dwarfdump.cpp index e4e34efff84..12c005de600 100644 --- a/tools/llvm-dwarfdump/llvm-dwarfdump.cpp +++ b/tools/llvm-dwarfdump/llvm-dwarfdump.cpp @@ -156,8 +156,7 @@ static list Name( "the -regex option is interpreted as a regular expression."), value_desc("pattern"), cat(DwarfDumpCategory)); static alias NameAlias("n", desc("Alias for -name"), aliasopt(Name)); -static opt - Lookup("lookup", +static opt Lookup("lookup", desc("Lookup
in the debug information and print out any" "available file, function, block and line table details."), value_desc("address"), cat(DwarfDumpCategory)); -- 2.49.0