diff --git a/lib/Target/X86/X86TargetMachine.cpp b/lib/Target/X86/X86TargetMachine.cpp index b778fc2f2c8..547fa8eeebc 100644 --- a/lib/Target/X86/X86TargetMachine.cpp +++ b/lib/Target/X86/X86TargetMachine.cpp @@ -250,6 +250,9 @@ void X86TargetMachine::setCodeModelForJIT() { setCodeModel(CodeModel::Small); } +/// 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. DwarfLSDAEncoding::Encoding X86TargetMachine::getLSDAEncoding() const { if (Subtarget.isTargetDarwin() && Subtarget.getDarwinVers() != 10) return DwarfLSDAEncoding::FourByte;