]> granicus.if.org Git - llvm/commit
[Object] Fix missing arguments to getType and getSymbol in Elf_Rel_Impl
authorPetr Hosek <phosek@chromium.org>
Fri, 15 Sep 2017 02:59:55 +0000 (02:59 +0000)
committerPetr Hosek <phosek@chromium.org>
Fri, 15 Sep 2017 02:59:55 +0000 (02:59 +0000)
commit03855b657fd0296e8663f35d0770994fe3b3e255
treebd02760fefa720e479085260874583b8aea3ef7c
parentb411a75baef5fa7c20186d9866964838397ad771
[Object] Fix missing arguments to getType and getSymbol in Elf_Rel_Impl

Somehow this was compiling without these methods having their arguments
passed to them. I used these methods in some code I wrote and it raised
an error on me. It appears no one else has used these methods let (LLD
uses setSymbolAndType however). This change resolves the issue.

Patch by Jake Ehrlich

Differential Revision: https://reviews.llvm.org/D35100

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313336 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/ELFTypes.h