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
a601cc5f
Commit
a601cc5f
authored
Dec 03, 2014
by
Jan Voung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try to fix mismatch between writeELFHeaderInternal def and decl.
BUG=build failure R=kschimpf@google.com Review URL:
https://codereview.chromium.org/773853005
parent
ae35f196
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
IceELFObjectWriter.cpp
src/IceELFObjectWriter.cpp
+2
-2
IceELFObjectWriter.h
src/IceELFObjectWriter.h
+1
-1
No files found.
src/IceELFObjectWriter.cpp
View file @
a601cc5f
...
...
@@ -233,7 +233,7 @@ void ELFObjectWriter::writeDataInitializer(const IceString &VarName,
void
ELFObjectWriter
::
writeInitialELFHeader
()
{
assert
(
!
SectionNumbersAssigned
);
const
size_t
DummySHOffset
=
0
;
const
Elf64_Off
DummySHOffset
=
0
;
const
SizeT
DummySHStrIndex
=
0
;
const
SizeT
DummyNumSections
=
0
;
if
(
isELF64
(
Ctx
.
getTargetArch
()))
{
...
...
@@ -246,7 +246,7 @@ void ELFObjectWriter::writeInitialELFHeader() {
}
template
<
bool
IsELF64
>
void
ELFObjectWriter
::
writeELFHeaderInternal
(
size_t
SectionHeaderOffset
,
void
ELFObjectWriter
::
writeELFHeaderInternal
(
Elf64_Off
SectionHeaderOffset
,
SizeT
SectHeaderStrIndex
,
SizeT
NumSections
)
{
// Write the e_ident: magic number, class, etc.
...
...
src/IceELFObjectWriter.h
View file @
a601cc5f
...
...
@@ -116,7 +116,7 @@ private:
// Write the ELF file header with the given information about sections.
template
<
bool
IsELF64
>
void
writeELFHeaderInternal
(
uint64_t
SectionHeaderOffset
,
void
writeELFHeaderInternal
(
Elf64_Off
SectionHeaderOffset
,
SizeT
SectHeaderStrIndex
,
SizeT
NumSections
);
};
...
...
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