Speculative build fix for lld on Windows
I can't access my Windows machine at the moment, but the build was breaking with: c:\b\build\slave\crwinclanglld\build\src\third_party\llvm\tools\lld\lib\readerwriter\elf\mips\MipsTargetLayout.h(38) : error C2440: 'return' : cannot convert from 'lld:🧝:MipsGOTSection<ELFT> *' to 'lld:🧝:AtomSection<ELFT> *' with [ ELFT=lld:🧝:Mips32ELType ] Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast I think this regressed caused in 234727: that the forward-declarations of MipsGOTSection<> is not enough. llvm-svn: 234736
This commit is contained in:
parent
e8fd6c8563
commit
2a76f41511
|
@ -10,6 +10,7 @@
|
|||
#define LLD_READER_WRITER_ELF_MIPS_MIPS_SECTION_CHUNKS_H
|
||||
|
||||
#include "MipsReginfo.h"
|
||||
#include "SectionChunks.h"
|
||||
|
||||
namespace lld {
|
||||
namespace elf {
|
||||
|
|
|
@ -9,14 +9,12 @@
|
|||
#ifndef LLD_READER_WRITER_ELF_MIPS_MIPS_TARGET_LAYOUT_H
|
||||
#define LLD_READER_WRITER_ELF_MIPS_MIPS_TARGET_LAYOUT_H
|
||||
|
||||
#include "MipsSectionChunks.h"
|
||||
#include "TargetLayout.h"
|
||||
|
||||
namespace lld {
|
||||
namespace elf {
|
||||
|
||||
template <typename ELFT> class MipsGOTSection;
|
||||
template <typename ELFT> class MipsPLTSection;
|
||||
template <typename ELFT> class MipsRelocationTable;
|
||||
class MipsLinkingContext;
|
||||
|
||||
/// \brief TargetLayout for Mips
|
||||
|
|
Loading…
Reference in New Issue