diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2017-12-19 09:45:26 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2017-12-19 09:45:26 +0000 |
commit | d900f82d61f495ce128b99de4d35cccb8bf1e8be (patch) | |
tree | 966dc960ae14eb0351fa6963cbd5e0f43badbf44 /tools | |
parent | 8cc707a59e502ff06bf9053a2e7e50262f16dff3 (diff) |
[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 <mickey@vanille-media.de>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321064 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/llvm-dwarfdump/llvm-dwarfdump.cpp | 3 |
1 files changed, 1 insertions, 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<std::string> Name( "the -regex option <pattern> is interpreted as a regular expression."), value_desc("pattern"), cat(DwarfDumpCategory)); static alias NameAlias("n", desc("Alias for -name"), aliasopt(Name)); -static opt<unsigned> - Lookup("lookup", +static opt<unsigned long long> Lookup("lookup", desc("Lookup <address> in the debug information and print out any" "available file, function, block and line table details."), value_desc("address"), cat(DwarfDumpCategory)); |