Skip to content

Commit efb0638

Browse files
committedDec 19, 2017
[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> llvm-svn: 321064
1 parent fd95ee0 commit efb0638

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,7 @@ static list<std::string> Name(
156156
"the -regex option <pattern> is interpreted as a regular expression."),
157157
value_desc("pattern"), cat(DwarfDumpCategory));
158158
static alias NameAlias("n", desc("Alias for -name"), aliasopt(Name));
159-
static opt<unsigned>
160-
Lookup("lookup",
159+
static opt<unsigned long long> Lookup("lookup",
161160
desc("Lookup <address> in the debug information and print out any"
162161
"available file, function, block and line table details."),
163162
value_desc("address"), cat(DwarfDumpCategory));

0 commit comments

Comments
 (0)
Please sign in to comment.