Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
swiftshader
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
swiftshader
Commits
5526c171
Commit
5526c171
authored
Mar 08, 2016
by
Jim Stichnoth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Subzero: Fix build errors from upgrading to clang 3.9 .
BUG= none TBR=jpp@chromium.org Review URL:
https://codereview.chromium.org/1778663003
.
parent
3e324002
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
Makefile.standalone
Makefile.standalone
+1
-0
IceTargetLoweringX86Base.h
src/IceTargetLoweringX86Base.h
+13
-3
No files found.
Makefile.standalone
View file @
5526c171
...
...
@@ -413,6 +413,7 @@ $(UNITTEST_OBJS): $(OBJDIR)/unittest/%.o: unittest/%.cpp unittest/*.h \
-I
$(LLVM_SRC_PATH)
/utils/unittest/googletest/include
\
-I
$(LLVM_SRC_PATH)
\
-DGTEST_HAS_RTTI
=
0
-DGTEST_USE_OWN_TR1_TUPLE
\
-Wno-expansion-to-defined
\
$<
-o
$@
$(OBJS)
:
| $(OBJDIR)
...
...
src/IceTargetLoweringX86Base.h
View file @
5526c171
...
...
@@ -80,6 +80,9 @@ public:
static
void
staticInit
(
GlobalContext
*
Ctx
);
static
TargetX86Base
*
create
(
Cfg
*
Func
)
{
return
new
TargetX86Base
(
Func
);
}
std
::
unique_ptr
<::
Ice
::
Assembler
>
createAssembler
()
const
override
{
return
nullptr
;
}
static
FixupKind
getPcRelFixup
()
{
return
PcRelFixup
;
}
static
FixupKind
getAbsFixup
()
{
return
AbsFixup
;
}
...
...
@@ -353,10 +356,17 @@ protected:
}
/// Emit just the call instruction (without argument or return variable
/// processing), sandboxing if needed.
virtual
Inst
*
emitCallToTarget
(
Operand
*
CallTarget
,
Variable
*
ReturnReg
)
=
0
;
virtual
Inst
*
emitCallToTarget
(
Operand
*
CallTarget
,
Variable
*
ReturnReg
)
{
(
void
)
CallTarget
;
(
void
)
ReturnReg
;
return
nullptr
;
}
/// Materialize the moves needed to return a value of the specified type.
virtual
Variable
*
moveReturnValueToRegister
(
Operand
*
Value
,
Type
ReturnType
)
=
0
;
virtual
Variable
*
moveReturnValueToRegister
(
Operand
*
Value
,
Type
ReturnType
)
{
(
void
)
Value
;
(
void
)
ReturnType
;
return
nullptr
;
}
/// Emit a jump table to the constant pool.
void
emitJumpTable
(
const
Cfg
*
Func
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment