Make Ctx a plain pointer again.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 23 Oct 2017 21:12:19 +0000 (21:12 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 23 Oct 2017 21:12:19 +0000 (21:12 +0000)
commit089dac7be115f8c822f83c8b6e0633854c9e9c80
tree6ad1dcef9f7c7cd32aa07ca05331f19fe245a02c
parent7887238c7c8f13d0caf4da1d93af5fd6ee9cb64a
Make Ctx a plain pointer again.

If a struct has a std::unique_ptr member, the logical interpretation
is that that member will be destroyed with the struct.

That is not the case for Ctx. It is has to be deleted earlier and its
lifetime is defined by the functions where the AddressState is
created.

llvm-svn: 316378
lld/ELF/LinkerScript.cpp
lld/ELF/LinkerScript.h