mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-03 14:31:10 +00:00
Remove safeseh debug print and remove extra braces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239449 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c8e72e9126
commit
6d7e69b227
@ -52,12 +52,9 @@ WinException::~WinException() {}
|
|||||||
void WinException::endModule() {
|
void WinException::endModule() {
|
||||||
auto &OS = *Asm->OutStreamer;
|
auto &OS = *Asm->OutStreamer;
|
||||||
const Module *M = MMI->getModule();
|
const Module *M = MMI->getModule();
|
||||||
for (const Function &F : *M) {
|
for (const Function &F : *M)
|
||||||
if (F.hasFnAttribute("safeseh")) {
|
if (F.hasFnAttribute("safeseh"))
|
||||||
llvm::errs() << ".safeseh " << F.getName() << "\n";
|
|
||||||
OS.EmitCOFFSafeSEH(Asm->getSymbol(&F));
|
OS.EmitCOFFSafeSEH(Asm->getSymbol(&F));
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void WinException::beginFunction(const MachineFunction *MF) {
|
void WinException::beginFunction(const MachineFunction *MF) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user