forked from OSchip/llvm-project
put the public function createReaderPECOFF() in the lld namespace and everything else in is own namespace
llvm-svn: 158135
This commit is contained in:
parent
98211f6d19
commit
5fb2e4dabe
|
@ -23,8 +23,9 @@
|
|||
#include <vector>
|
||||
|
||||
using llvm::object::coff_symbol;
|
||||
using namespace lld;
|
||||
|
||||
namespace lld {
|
||||
namespace { // anonymous
|
||||
|
||||
class COFFAbsoluteAtom : public AbsoluteAtom {
|
||||
public:
|
||||
|
@ -376,6 +377,10 @@ private:
|
|||
const ReaderOptionsPECOFF &_options;
|
||||
};
|
||||
|
||||
} // namespace anonymous
|
||||
|
||||
|
||||
namespace lld {
|
||||
|
||||
Reader* createReaderPECOFF(const ReaderOptionsPECOFF &options) {
|
||||
return new ReaderCOFF(options);
|
||||
|
|
Loading…
Reference in New Issue