[llvm] r239449 - Remove safeseh debug print and remove extra braces
Reid Kleckner
reid at kleckner.net
Tue Jun 9 18:13:45 PDT 2015
Author: rnk
Date: Tue Jun 9 20:13:44 2015
New Revision: 239449
URL: http://llvm.org/viewvc/llvm-project?rev=239449&view=rev
Log:
Remove safeseh debug print and remove extra braces
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/WinException.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/WinException.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/WinException.cpp?rev=239449&r1=239448&r2=239449&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/WinException.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/WinException.cpp Tue Jun 9 20:13:44 2015
@@ -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) {
More information about the llvm-commits
mailing list