summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/WinException.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2015-06-10 01:13:44 +0000
committerReid Kleckner <reid@kleckner.net>2015-06-10 01:13:44 +0000
commitca6ef66e4c0b8c7189c42839ac6b9bd7e491190a (patch)
treef55a93523e804b74b04a20f7d97f456356398ef2 /llvm/lib/CodeGen/AsmPrinter/WinException.cpp
parent2bc93ca84606399da5ae5ac68c2140d5d2855adb (diff)
downloadbcm5719-llvm-ca6ef66e4c0b8c7189c42839ac6b9bd7e491190a.tar.gz
bcm5719-llvm-ca6ef66e4c0b8c7189c42839ac6b9bd7e491190a.zip
Remove safeseh debug print and remove extra braces
llvm-svn: 239449
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/WinException.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/WinException.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/WinException.cpp b/llvm/lib/CodeGen/AsmPrinter/WinException.cpp
index ffa0ceb1a60..2bd9af55c30 100644
--- a/llvm/lib/CodeGen/AsmPrinter/WinException.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/WinException.cpp
@@ -52,12 +52,9 @@ WinException::~WinException() {}
void WinException::endModule() {
auto &OS = *Asm->OutStreamer;
const Module *M = MMI->getModule();
- for (const Function &F : *M) {
- if (F.hasFnAttribute("safeseh")) {
- llvm::errs() << ".safeseh " << F.getName() << "\n";
+ for (const Function &F : *M)
+ if (F.hasFnAttribute("safeseh"))
OS.EmitCOFFSafeSEH(Asm->getSymbol(&F));
- }
- }
}
void WinException::beginFunction(const MachineFunction *MF) {
OpenPOWER on IntegriCloud