mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
Small cleanups.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131120 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c25dad8750
commit
774466a8a5
@ -629,8 +629,6 @@ const MCSymbol &FrameEmitterImpl::EmitCIE(MCStreamer &streamer,
|
||||
unsigned lsdaEncoding) {
|
||||
MCContext &context = streamer.getContext();
|
||||
const TargetAsmInfo &asmInfo = context.getTargetAsmInfo();
|
||||
const MCSection §ion = *asmInfo.getEHFrameSection();
|
||||
streamer.SwitchSection(§ion);
|
||||
|
||||
MCSymbol *sectionStart;
|
||||
if (asmInfo.isFunctionEHFrameSymbolPrivate())
|
||||
@ -683,9 +681,8 @@ const MCSymbol &FrameEmitterImpl::EmitCIE(MCStreamer &streamer,
|
||||
// Personality
|
||||
augmentationLength += getSizeForEncoding(streamer, personalityEncoding);
|
||||
}
|
||||
if (lsda) {
|
||||
if (lsda)
|
||||
augmentationLength += 1;
|
||||
}
|
||||
// Encoding of the FDE pointers
|
||||
augmentationLength += 1;
|
||||
|
||||
@ -698,10 +695,8 @@ const MCSymbol &FrameEmitterImpl::EmitCIE(MCStreamer &streamer,
|
||||
// Personality
|
||||
EmitPersonality(streamer, *personality, personalityEncoding);
|
||||
}
|
||||
if (lsda) {
|
||||
// LSDA Encoding
|
||||
streamer.EmitIntValue(lsdaEncoding, 1);
|
||||
}
|
||||
if (lsda)
|
||||
streamer.EmitIntValue(lsdaEncoding, 1); // LSDA Encoding
|
||||
// Encoding of the FDE pointers
|
||||
streamer.EmitIntValue(asmInfo.getFDEEncoding(UsingCFI), 1);
|
||||
|
||||
@ -831,6 +826,8 @@ void MCDwarfFrameEmitter::Emit(MCStreamer &streamer,
|
||||
bool usingCFI) {
|
||||
const MCContext &context = streamer.getContext();
|
||||
const TargetAsmInfo &asmInfo = context.getTargetAsmInfo();
|
||||
const MCSection §ion = *asmInfo.getEHFrameSection();
|
||||
streamer.SwitchSection(§ion);
|
||||
|
||||
MCSymbol *fdeEnd = NULL;
|
||||
DenseMap<CIEKey, const MCSymbol*> CIEStarts;
|
||||
|
Loading…
x
Reference in New Issue
Block a user