projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8e72e9
)
Remove safeseh debug print and remove extra braces
author
Reid Kleckner
<reid@kleckner.net>
Wed, 10 Jun 2015 01:13:44 +0000
(
01:13
+0000)
committer
Reid Kleckner
<reid@kleckner.net>
Wed, 10 Jun 2015 01:13:44 +0000
(
01:13
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239449
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter/WinException.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter/WinException.cpp
b/lib/CodeGen/AsmPrinter/WinException.cpp
index ffa0ceb1a602387c761ce92b520e2045dc214b99..2bd9af55c30f50b2ee9c2a96f588f51672709f1b 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/WinException.cpp
+++ b/
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) {