mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-24 04:16:08 +00:00
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:
parent
1d248ec51b
commit
7886f4e81a
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user