Ignore LSDA information for now

Summary:
Teach llvm-flo to drop on function with LSDA information until we know
how to update them after block reordering.

(cherry picked from FBD2640806)
This commit is contained in:
Rafael Auler 2015-11-10 17:21:42 -08:00 committed by Maksim Panchenko
parent 1d248ec51b
commit 7886f4e81a

View File

@ -608,8 +608,11 @@ static void OptimizeFile(ELFObjectFileBase *File, const DataReader &DR) {
continue;
// Fill in CFI information for this function
if (EHFrame.ParseError.empty() && Function.isSimple())
if (EHFrame.ParseError.empty() && Function.isSimple()) {
CFIRdWrt.fillCFIInfoFor(Function);
if (Function.getLSDAAddress() != 0)
Function.setSimple(false);
}
// Parse LSDA.
if (Function.getLSDAAddress() != 0)