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
142b4a72
Commit
142b4a72
authored
20 years ago
by
Jeff Cohen
Browse files
Options
Downloads
Patches
Plain Diff
Fix VC++ complaint
llvm-svn: 19747
parent
ccbd3f0d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
llvm/include/llvm/Support/ToolRunner.h
+2
-1
2 additions, 1 deletion
llvm/include/llvm/Support/ToolRunner.h
llvm/tools/bugpoint/CrashDebugger.cpp
+1
-1
1 addition, 1 deletion
llvm/tools/bugpoint/CrashDebugger.cpp
with
3 additions
and
2 deletions
llvm/include/llvm/Support/ToolRunner.h
+
2
−
1
View file @
142b4a72
...
@@ -79,7 +79,8 @@ public:
...
@@ -79,7 +79,8 @@ public:
/// LLVM bytecode in a variety of ways. This abstract interface hides this
/// LLVM bytecode in a variety of ways. This abstract interface hides this
/// complexity behind a simple interface.
/// complexity behind a simple interface.
///
///
struct
AbstractInterpreter
{
class
AbstractInterpreter
{
public:
static
CBE
*
createCBE
(
const
std
::
string
&
ProgramPath
,
std
::
string
&
Message
,
static
CBE
*
createCBE
(
const
std
::
string
&
ProgramPath
,
std
::
string
&
Message
,
const
std
::
vector
<
std
::
string
>
*
Args
=
0
);
const
std
::
vector
<
std
::
string
>
*
Args
=
0
);
static
LLC
*
createLLC
(
const
std
::
string
&
ProgramPath
,
std
::
string
&
Message
,
static
LLC
*
createLLC
(
const
std
::
string
&
ProgramPath
,
std
::
string
&
Message
,
...
...
This diff is collapsed.
Click to expand it.
llvm/tools/bugpoint/CrashDebugger.cpp
+
1
−
1
View file @
142b4a72
...
@@ -431,7 +431,7 @@ static bool TestForCodeGenCrash(BugDriver &BD, Module *M) {
...
@@ -431,7 +431,7 @@ static bool TestForCodeGenCrash(BugDriver &BD, Module *M) {
BD
.
compileProgram
(
M
);
BD
.
compileProgram
(
M
);
std
::
cerr
<<
'\n'
;
std
::
cerr
<<
'\n'
;
return
false
;
return
false
;
}
catch
(
ToolExecutionError
&
TEE
)
{
}
catch
(
ToolExecutionError
&
)
{
std
::
cerr
<<
"<crash>
\n
"
;
std
::
cerr
<<
"<crash>
\n
"
;
return
true
;
// Tool is still crashing.
return
true
;
// Tool is still crashing.
}
}
...
...
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