mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Preliminary patch to improve dwarf EH generation - Hooks to return Personality / FDE / LSDA / TType encoding depending on target / options (e.g. code model / relocation model) - MCIzation of Dwarf EH printer to use encoding information - Stub generation for ELF target (needed for indirect references) - Some other small changes here and there
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96285 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -62,18 +62,6 @@ public:
|
||||
return Subtarget.isTargetELF() ? &ELFWriterInfo : 0;
|
||||
}
|
||||
|
||||
/// getLSDAEncoding - Returns the LSDA pointer encoding. The choices are
|
||||
/// 4-byte, 8-byte, and target default. The CIE is hard-coded to indicate that
|
||||
/// the LSDA pointer in the FDE section is an "sdata4", and should be encoded
|
||||
/// as a 4-byte pointer by default. However, some systems may require a
|
||||
/// different size due to bugs or other conditions. We will default to a
|
||||
/// 4-byte encoding unless the system tells us otherwise.
|
||||
///
|
||||
/// FIXME: This call-back isn't good! We should be using the correct encoding
|
||||
/// regardless of the system. However, there are some systems which have bugs
|
||||
/// that prevent this from occuring.
|
||||
virtual DwarfLSDAEncoding::Encoding getLSDAEncoding() const;
|
||||
|
||||
// Set up the pass pipeline.
|
||||
virtual bool addInstSelector(PassManagerBase &PM, CodeGenOpt::Level OptLevel);
|
||||
virtual bool addPreRegAlloc(PassManagerBase &PM, CodeGenOpt::Level OptLevel);
|
||||
|
Reference in New Issue
Block a user