Skip to content

Commit

Permalink
Remove safeseh debug print and remove extra braces
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239449 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
rnk committed Jun 10, 2015
1 parent c8e72e9 commit 6d7e69b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions lib/CodeGen/AsmPrinter/WinException.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 6d7e69b

Please sign in to comment.