<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@DengXian";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hi Alex,</p>
<p class="MsoNormal">I’ll take a look. Not sure how long it takes though.</p>
<p class="MsoNormal">Please revert it. I don’t have the permission to commit yet.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Could you share more information about the crash?</p>
<p class="MsoNormal">What is the command line to repro the crash and which environment it crashed.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks</p>
<p class="MsoNormal">Xiang</p>
<p class="MsoNormal">Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">
Mail</a> for Windows</p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="border:none;padding:0in"><b>From: </b><a href="mailto:reviews@reviews.llvm.org">Alexander Kornienko via Phabricator</a><br>
<b>Sent: </b>Wednesday, October 20, 2021 2:19 PM<br>
<b>To: </b><a href="mailto:python3kgae@outlook.com">python3kgae@outlook.com</a>; <a href="mailto:mizvekov@gmail.com">
mizvekov@gmail.com</a>; <a href="mailto:blitzrakete@gmail.com">blitzrakete@gmail.com</a>;
<a href="mailto:notstina@gmail.com">notstina@gmail.com</a>; <a href="mailto:shenhan@google.com">
shenhan@google.com</a>; <a href="mailto:richard@metafoo.co.uk">richard@metafoo.co.uk</a>;
<a href="mailto:bhuvanendra.kumarn@amd.com">bhuvanendra.kumarn@amd.com</a>; <a href="mailto:mlekena@skidmore.edu">
mlekena@skidmore.edu</a>; <a href="mailto:jlerouge@apple.com">jlerouge@apple.com</a>;
<a href="mailto:chris.bieneman@me.com">chris.bieneman@me.com</a>; <a href="mailto:aaron.ballman@gmail.com">
aaron.ballman@gmail.com</a><br>
<b>Cc: </b><a href="mailto:alexfh@google.com">alexfh@google.com</a>; <a href="mailto:ndesaulniers@google.com">
ndesaulniers@google.com</a>; <a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a>;
<a href="mailto:david.green@arm.com">david.green@arm.com</a>; <a href="mailto:ruiling.song@amd.com">
ruiling.song@amd.com</a><br>
<b>Subject: </b>[PATCH] D111109: AddGlobalAnnotations for function with or without function body.</p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">alexfh added a comment.<br>
<br>
Reduced test case:<br>
<br>
template <class a> void b(a);<br>
template <typename c> class d {<br>
public:<br>
class e {<br>
public:<br>
c *f();<br>
};<br>
e *g();<br>
};<br>
template <class> class j;<br>
template <class h, class... i> class j<h(i...)> {<br>
public:<br>
class k {<br>
public:<br>
k(int *);<br>
~k();<br>
};<br>
int n();<br>
d<int *> l;<br>
};<br>
template <class h, class... i> int j<h(i...)>::n() {<br>
auto m = l.g()->f();<br>
k a(*m);<br>
b(a);<br>
}<br>
template <class h, class... i><br>
j<h(i...)>::k::~k() __attribute__((annotate(""))) {}<br>
class o {<br>
int m_fn4();<br>
j<int()> p;<br>
};<br>
int o::m_fn4() { p.n(); }<br>
<br>
Please revert the commit if there is no quick and obvious solution. Thanks!<br>
<br>
<br>
Repository:<br>
rG LLVM Github Monorepo<br>
<br>
CHANGES SINCE LAST ACTION<br>
<a href="https://reviews.llvm.org/D111109/new/">https://reviews.llvm.org/D111109/new/</a><br>
<br>
<a href="https://reviews.llvm.org/D111109">https://reviews.llvm.org/D111109</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>