[llvm-bugs] [Bug 32335] [Win64] EH frame emission fails

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Mar 20 10:10:44 PDT 2017


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

Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Reid Kleckner <rnk at google.com> ---
Looks like the frontend forgot to add uwtable, which clang adds.

See the comment above AttrKind about this:
http://llvm.org/docs/doxygen/html/classllvm_1_1Attribute.html#aab7ee4b8fd1d3e7e4cea87868855e60e

And the implementation of Function::needsUnwindTableEntry:
  /// @brief True if this function needs an unwind table.
  bool needsUnwindTableEntry() const {
    return hasUWTable() || !doesNotThrow();
  }

-- 
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/20170320/3dcbf69c/attachment.html>


More information about the llvm-bugs mailing list