[ELF] Do not save a reference to GOTFile instance in xxxWriter classes
authorSimon Atanasyan <simon@atanasyan.com>
Wed, 8 Apr 2015 09:19:45 +0000 (09:19 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Wed, 8 Apr 2015 09:19:45 +0000 (09:19 +0000)
commit8e951ce3923320de7accd5c7c4d85d9c7ff18a3e
tree01606182a5e33b56253716031b3ee0873e20dbfd
parent34ec863b1cefcf15b1ad864f025202cbecbc0960
[ELF] Do not save a reference to GOTFile instance in xxxWriter classes

It's a follow-up to r234347. We do not need to keep a reference to
`GOTFile` instance in a xxxWriter class after ownership is transferred
to the caller of the `createImplicitFiles` method.

llvm-svn: 234396
lld/lib/ReaderWriter/ELF/AArch64/AArch64DynamicLibraryWriter.h
lld/lib/ReaderWriter/ELF/AArch64/AArch64ExecutableWriter.h
lld/lib/ReaderWriter/ELF/X86/X86DynamicLibraryWriter.h
lld/lib/ReaderWriter/ELF/X86_64/X86_64DynamicLibraryWriter.h
lld/lib/ReaderWriter/ELF/X86_64/X86_64ExecutableWriter.h