[llvm-bugs] [Bug 41279] New: Crash with SEH and -fprofile-generate

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Mar 28 11:24:54 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=41279

            Bug ID: 41279
           Summary: Crash with SEH and -fprofile-generate
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: dmajor at mozilla.com
                CC: david.majnemer at gmail.com, htmldeveloper at gmail.com,
                    llvm-bugs at lists.llvm.org, mcastelluccio at mozilla.com,
                    michaelwoerister at posteo.net, rnk at google.com

Reproducer:

void f() {
  __try { f(); }
  __except (1) { return; }
  __try { f(); }
  __except (1) { }
}

clang-cl.exe -O2 -clang:-fprofile-generate -c test.cpp

Here's the stack though I'm not sure how much it helps, given the inlining in
my release build:

00 clang!`anonymous namespace'::PruneEH::runOnSCC
01 clang!`anonymous namespace'::CGPassManager::runOnModule
02 clang!llvm::legacy::PassManagerImpl::run
03 clang!clang::EmitBackendOutput
04 clang!clang::BackendConsumer::HandleTranslationUnit
05 clang!clang::ParseAST

I wonder if this is the PGO-analogue to the SEH gcov crash in bug 34833.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190328/73f2b347/attachment.html>


More information about the llvm-bugs mailing list