Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DIVINE
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
paradise
mirror
DIVINE
Commits
3840ebdb
There was an error fetching the commit references. Please try again later.
Commit
3840ebdb
authored
5 years ago
by
Zuzana Baranová
Browse files
Options
Downloads
Patches
Plain Diff
RT: Add a setter for the _cxx attribute in NativeDiosCC.
parent
af1ed5a0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
divine/rt/dios-cc.hpp
+1
-0
1 addition, 0 deletions
divine/rt/dios-cc.hpp
tools/divcc.cpp
+1
-1
1 addition, 1 deletion
tools/divcc.cpp
with
2 additions
and
1 deletion
divine/rt/dios-cc.hpp
+
1
−
0
View file @
3840ebdb
...
...
@@ -39,6 +39,7 @@ struct NativeDiosCC : cc::Native
auto
link_dios_native
(
bool
cxx
);
std
::
unique_ptr
<
llvm
::
Module
>
link_bitcode
()
override
;
void
link
()
override
;
void
set_cxx
(
bool
cxx
)
{
_cxx
=
cxx
;
}
bool
_cxx
;
};
...
...
This diff is collapsed.
Click to expand it.
tools/divcc.cpp
+
1
−
1
View file @
3840ebdb
...
...
@@ -31,7 +31,7 @@ int main( int argc, char **argv )
{
try
{
rt
::
NativeDiosCC
nativeCC
(
{
argv
+
1
,
argv
+
argc
}
);
nativeCC
.
_cxx
=
brick
::
string
::
endsWith
(
argv
[
0
],
"divc++"
);
nativeCC
.
set
_cxx
(
brick
::
string
::
endsWith
(
argv
[
0
],
"divc++"
)
);
auto
&
po
=
nativeCC
.
_po
;
if
(
po
.
hasHelp
||
po
.
hasVersion
)
...
...
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