diff options
author | David Blaikie <dblaikie@gmail.com> | 2012-01-20 21:51:11 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2012-01-20 21:51:11 +0000 |
commit | 46a9f016c5fca708710e8c791675354cbf51fdfa (patch) | |
tree | 63642aaaa31ba6bc3ee7ee892cccee1bf17f5abc /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | e4d798f07897a6378d0f2588e4c2335ec85ca935 (diff) | |
download | bcm5719-llvm-46a9f016c5fca708710e8c791675354cbf51fdfa.tar.gz bcm5719-llvm-46a9f016c5fca708710e8c791675354cbf51fdfa.zip |
More dead code removal (using -Wunreachable-code)
llvm-svn: 148578
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp index 7fe164a966b..a6999f63040 100644 --- a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp +++ b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp @@ -53,11 +53,9 @@ TargetLoweringObjectFileELF::getCFIPersonalitySymbol(const GlobalValue *GV, report_fatal_error("We do not support this DWARF encoding yet!"); case dwarf::DW_EH_PE_absptr: return Mang->getSymbol(GV); - break; case dwarf::DW_EH_PE_pcrel: { return getContext().GetOrCreateSymbol(StringRef("DW.ref.") + Mang->getSymbol(GV)->getName()); - break; } } } @@ -361,8 +359,6 @@ getExplicitSectionGlobal(const GlobalValue *GV, SectionKind Kind, report_fatal_error("Global variable '" + GV->getName() + "' has an invalid section specifier '" + GV->getSection() + "': " + ErrorCode + "."); - // Fall back to dropping it into the data section. - return DataSection; } // Get the section. |