[PATCH] D27551: [DebugInfo] Add regression test for __fp16, float, and double constants.

David Gross via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 7 15:09:55 PST 2016


dgross created this revision.
dgross added a reviewer: llvm-commits.

Verfies that https://reviews.llvm.org/D27549 (partial fix for PR26619) produces IR that llvm can
translate to the expected DWARF.

Prior to the change "DebugInfo: New metadata representation for global
variables." (https://reviews.llvm.org/D20147, https://reviews.llvm.org/D20415), clang emitted debug metadata for static
const values of floating-point types, but llvm did not translate this
debug metadata into DWARF.  After that change, clang did not emit debug
metadata for static const values of floating-point types, but llvm is
capable of translating it into DWARF if it is emitted.


https://reviews.llvm.org/D27551

Files:
  test/DebugInfo/Generic/static-const-fp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27551.80675.patch
Type: text/x-patch
Size: 5183 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161207/585b23c1/attachment.bin>


More information about the llvm-commits mailing list