diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2011-01-14 21:58:08 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2011-01-14 21:58:08 +0000 |
commit | 9be547cfd3747e30963204187a99b59a11668cc7 (patch) | |
tree | 1cfd4a2a1d8717fea5879b5886680c8ac3fcb405 /llvm/lib/Target/PowerPC/PPCMCAsmInfo.cpp | |
parent | 4d9de6be4b56c0c625e32492f2d9e69e681aa49f (diff) | |
download | bcm5719-llvm-9be547cfd3747e30963204187a99b59a11668cc7.tar.gz bcm5719-llvm-9be547cfd3747e30963204187a99b59a11668cc7.zip |
Add a possibility to switch between CFI directives- and table-based frame description emission. Currently all the backends use table-based stuff.
llvm-svn: 123476
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCMCAsmInfo.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCMCAsmInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCMCAsmInfo.cpp b/llvm/lib/Target/PowerPC/PPCMCAsmInfo.cpp index 3b766b036c4..d1178dd7e1f 100644 --- a/llvm/lib/Target/PowerPC/PPCMCAsmInfo.cpp +++ b/llvm/lib/Target/PowerPC/PPCMCAsmInfo.cpp @@ -17,7 +17,7 @@ using namespace llvm; PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(bool is64Bit) { PCSymbol = "."; CommentString = ";"; - ExceptionsType = ExceptionHandling::Dwarf; + ExceptionsType = ExceptionHandling::DwarfTable; if (!is64Bit) Data64bitsDirective = 0; // We can't emit a 64-bit unit in PPC32 mode. @@ -48,7 +48,7 @@ PPCLinuxMCAsmInfo::PPCLinuxMCAsmInfo(bool is64Bit) { // Exceptions handling if (!is64Bit) - ExceptionsType = ExceptionHandling::Dwarf; + ExceptionsType = ExceptionHandling::DwarfTable; ZeroDirective = "\t.space\t"; Data64bitsDirective = is64Bit ? "\t.quad\t" : 0; |