projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cfac8a
)
Remove default definition no one uses.
author
Rui Ueyama
<ruiu@google.com>
Tue, 22 Nov 2016 04:17:12 +0000
(
04:17
+0000)
committer
Rui Ueyama
<ruiu@google.com>
Tue, 22 Nov 2016 04:17:12 +0000
(
04:17
+0000)
llvm-svn: 287616
lld/ELF/SyntheticSections.h
patch
|
blob
|
history
diff --git
a/lld/ELF/SyntheticSections.h
b/lld/ELF/SyntheticSections.h
index
4e7e975
..
3571ffc
100644
(file)
--- a/
lld/ELF/SyntheticSections.h
+++ b/
lld/ELF/SyntheticSections.h
@@
-30,8
+30,9
@@
public:
virtual ~SyntheticSection() = default;
virtual void writeTo(uint8_t *Buf) = 0;
- virtual size_t getSize() const
{ return this->Data.size(); }
+ virtual size_t getSize() const
= 0;
virtual void finalize() {}
+
uintX_t getVA() const {
return this->OutSec ? this->OutSec->Addr + this->OutSecOff : 0;
}