summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/DwarfWriter.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-02-29 19:36:59 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-02-29 19:36:59 +0000
commit26edb59d979fc3e6b8fdc4c7f893802f9e33e8e7 (patch)
tree1646a8def032c045a7c839c0527ea5f0b4d9a754 /llvm/lib/CodeGen/DwarfWriter.cpp
parent6555623cebeee40ef746993e29df8612a3d16bd5 (diff)
downloadbcm5719-llvm-26edb59d979fc3e6b8fdc4c7f893802f9e33e8e7.tar.gz
bcm5719-llvm-26edb59d979fc3e6b8fdc4c7f893802f9e33e8e7.zip
Don't fill eh frames even though these are text sections.
llvm-svn: 47765
Diffstat (limited to 'llvm/lib/CodeGen/DwarfWriter.cpp')
-rw-r--r--llvm/lib/CodeGen/DwarfWriter.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/DwarfWriter.cpp b/llvm/lib/CodeGen/DwarfWriter.cpp
index 8cc7f30979b..dd7ba9cb888 100644
--- a/llvm/lib/CodeGen/DwarfWriter.cpp
+++ b/llvm/lib/CodeGen/DwarfWriter.cpp
@@ -2379,7 +2379,7 @@ private:
EmitFrameMoves(NULL, 0, Moves, false);
- Asm->EmitAlignment(2);
+ Asm->EmitAlignment(2, 0, 0, false);
EmitLabel("debug_frame_common_end", 0);
Asm->EOL();
@@ -2412,7 +2412,7 @@ private:
EmitFrameMoves("func_begin", DebugFrameInfo.Number, DebugFrameInfo.Moves, false);
- Asm->EmitAlignment(2);
+ Asm->EmitAlignment(2, 0, 0, false);
EmitLabel("debug_frame_end", DebugFrameInfo.Number);
Asm->EOL();
@@ -2865,7 +2865,7 @@ private:
RI->getInitialFrameState(Moves);
EmitFrameMoves(NULL, 0, Moves, true);
- Asm->EmitAlignment(2);
+ Asm->EmitAlignment(2, 0, 0, false);
EmitLabel("eh_frame_common_end", Index);
Asm->EOL();
@@ -2951,7 +2951,7 @@ private:
// frame.
EmitFrameMoves("eh_func_begin", EHFrameInfo.Number, EHFrameInfo.Moves, true);
- Asm->EmitAlignment(2);
+ Asm->EmitAlignment(2, 0, 0, false);
EmitLabel("eh_frame_end", EHFrameInfo.Number);
// If the function is marked used, this table should be also. We cannot
@@ -3270,7 +3270,7 @@ private:
// Begin the exception table.
Asm->SwitchToDataSection(TAI->getDwarfExceptionSection());
O << "GCC_except_table" << SubprogramCount << ":\n";
- Asm->EmitAlignment(2);
+ Asm->EmitAlignment(2, 0, 0, false);
for (unsigned i = 0; i != SizeAlign; ++i) {
Asm->EmitInt8(0);
Asm->EOL("Padding");
@@ -3362,7 +3362,7 @@ private:
Asm->EOL("Filter TypeInfo index");
}
- Asm->EmitAlignment(2);
+ Asm->EmitAlignment(2, 0, 0, false);
}
public:
OpenPOWER on IntegriCloud