diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-03-08 23:23:25 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-03-08 23:23:25 +0000 |
| commit | 27a973245022c0ed4e69b291daf79d6d99c1844f (patch) | |
| tree | fbda319657b1f794e545e4b182b659b354b69d9d /llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp | |
| parent | d802615d0cc2444160f3f1130fda87dd0d93f6af (diff) | |
| download | bcm5719-llvm-27a973245022c0ed4e69b291daf79d6d99c1844f.tar.gz bcm5719-llvm-27a973245022c0ed4e69b291daf79d6d99c1844f.zip | |
simplify EmitSectionOffset to always use .set if it is
available, the only thing this affects is that we produce
.set in one case we didn't before, which shouldn't harm
anything. Make EmitSectionOffset call EmitDifference
instead of duplicating it.
llvm-svn: 98005
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp index b5c6bbe7054..6da90bb28c1 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp @@ -232,7 +232,7 @@ void DwarfException::EmitFDE(const FunctionEHFrameInfo &EHFrameInfo) { EmitSectionOffset(getDWLabel("eh_frame_begin", EHFrameInfo.Number), getDWLabel("eh_frame_common", EHFrameInfo.PersonalityIndex), - true, true, false); + true, true); EOL("FDE CIE offset"); |

