diff options
| author | Rui Ueyama <ruiu@google.com> | 2017-02-19 22:48:33 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2017-02-19 22:48:33 +0000 |
| commit | a80915853ad3d219949ece64d4dcd4e1581aba4e (patch) | |
| tree | dc5a03494eca2438447f13896a05310f5e86de85 /lld/ELF/EhFrame.cpp | |
| parent | caf810e3e41bf8ed3383044159a24439df085b81 (diff) | |
| download | bcm5719-llvm-a80915853ad3d219949ece64d4dcd4e1581aba4e.tar.gz bcm5719-llvm-a80915853ad3d219949ece64d4dcd4e1581aba4e.zip | |
Add a comment about the copy relocation.
llvm-svn: 295622
Diffstat (limited to 'lld/ELF/EhFrame.cpp')
| -rw-r--r-- | lld/ELF/EhFrame.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/ELF/EhFrame.cpp b/lld/ELF/EhFrame.cpp index 2428473d901..5f037dffb4e 100644 --- a/lld/ELF/EhFrame.cpp +++ b/lld/ELF/EhFrame.cpp @@ -62,6 +62,7 @@ template <class ELFT> size_t elf::readEhRecordSize(InputSectionBase<ELFT> *S, size_t Off) { return EhReader<ELFT>(S, S->Data.slice(Off)).readEhRecordSize(); } + // .eh_frame section is a sequence of records. Each record starts with // a 4 byte length field. This function reads the length. template <class ELFT> size_t EhReader<ELFT>::readEhRecordSize() { |

