mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-12-19 11:23:32 +00:00
move macho section uniquing from MCParser and TLOF to MCContext where
the compiler and asmparser now unique to the same sections. This fixes rdar://7835021. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100807 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -50,10 +50,6 @@ private:
|
||||
AsmCond TheCondState;
|
||||
std::vector<AsmCond> TheCondStack;
|
||||
|
||||
// FIXME: Figure out where this should leave, the code is a copy of that which
|
||||
// is also used by TargetLoweringObjectFile.
|
||||
mutable void *SectionUniquingMap;
|
||||
|
||||
/// DirectiveMap - This is a table handlers for directives. Each handler is
|
||||
/// invoked after the directive identifier is read and is responsible for
|
||||
/// parsing and validating the rest of the directive. The handler is passed
|
||||
@@ -97,13 +93,6 @@ public:
|
||||
private:
|
||||
MCSymbol *CreateSymbol(StringRef Name);
|
||||
|
||||
// FIXME: See comment on SectionUniquingMap.
|
||||
const MCSection *getMachOSection(const StringRef &Segment,
|
||||
const StringRef &Section,
|
||||
unsigned TypeAndAttributes,
|
||||
unsigned Reserved2,
|
||||
SectionKind Kind) const;
|
||||
|
||||
bool ParseStatement();
|
||||
|
||||
bool TokError(const char *Msg);
|
||||
|
||||
Reference in New Issue
Block a user