Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
llvm-epi-0.8
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Roger Ferrer
llvm-epi-0.8
Commits
0e4818c9
Commit
0e4818c9
authored
20 years ago
by
Chris Lattner
Browse files
Options
Downloads
Patches
Plain Diff
Reid added --version to the CommandLine lib. Don't conflict with it.
llvm-svn: 17076
parent
f6666db0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
llvm/tools/llvm-db/llvm-db.cpp
+1
-4
1 addition, 4 deletions
llvm/tools/llvm-db/llvm-db.cpp
with
1 addition
and
4 deletions
llvm/tools/llvm-db/llvm-db.cpp
+
1
−
4
View file @
0e4818c9
...
@@ -41,7 +41,6 @@ namespace {
...
@@ -41,7 +41,6 @@ namespace {
cl
::
value_desc
(
"directory"
));
cl
::
value_desc
(
"directory"
));
// Command line options specific to the llvm-db debugger driver
// Command line options specific to the llvm-db debugger driver
cl
::
opt
<
bool
>
Version
(
"version"
,
cl
::
desc
(
"Print version number and quit"
));
cl
::
opt
<
bool
>
Quiet
(
"quiet"
,
cl
::
desc
(
"Do not print introductory messages"
));
cl
::
opt
<
bool
>
Quiet
(
"quiet"
,
cl
::
desc
(
"Do not print introductory messages"
));
cl
::
alias
QA1
(
"silent"
,
cl
::
desc
(
"Alias for -quiet"
),
cl
::
aliasopt
(
Quiet
));
cl
::
alias
QA1
(
"silent"
,
cl
::
desc
(
"Alias for -quiet"
),
cl
::
aliasopt
(
Quiet
));
cl
::
alias
QA2
(
"q"
,
cl
::
desc
(
"Alias for -quiet"
),
cl
::
aliasopt
(
Quiet
));
cl
::
alias
QA2
(
"q"
,
cl
::
desc
(
"Alias for -quiet"
),
cl
::
aliasopt
(
Quiet
));
...
@@ -55,10 +54,8 @@ int main(int argc, char **argv, char * const *envp) {
...
@@ -55,10 +54,8 @@ int main(int argc, char **argv, char * const *envp) {
" llvm source-level debugger
\n
"
);
" llvm source-level debugger
\n
"
);
sys
::
PrintStackTraceOnErrorSignal
();
sys
::
PrintStackTraceOnErrorSignal
();
if
(
Version
||
!
Quiet
)
{
if
(
!
Quiet
)
std
::
cout
<<
"llvm-db: The LLVM source-level debugger
\n
"
;
std
::
cout
<<
"llvm-db: The LLVM source-level debugger
\n
"
;
if
(
Version
)
return
1
;
}
// Merge Inputfile and InputArgs into the InputArgs list...
// Merge Inputfile and InputArgs into the InputArgs list...
if
(
!
InputFile
.
empty
()
&&
InputArgs
.
empty
())
if
(
!
InputFile
.
empty
()
&&
InputArgs
.
empty
())
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment