[PATCH] D36904: Add llvm.codeview.annotation to implement MSVC __annotation

David Majnemer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 18 15:52:59 PDT 2017


majnemer added inline comments.


================
Comment at: llvm/include/llvm/IR/Intrinsics.td:638
+// Annotates the current program point with arbitrary metadata. It is not zero
+// cost, as it is modeled as possibly reading or writing escaped memory.
+def int_codeview_annotation : Intrinsic<[], [llvm_metadata_ty], [IntrNoDuplicate],
----------------
This seems wrong: https://godbolt.org/g/ZCpdBY


https://reviews.llvm.org/D36904





More information about the llvm-commits mailing list