<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=koi8-r">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<div style="color:rgb(33,33,33)">
<div>
<div dir="ltr">
<div class="gmail_quote">​<span style="font-size: 12pt;">></span><span style="font-size: 12pt;">I'm not sure I understand - an empty void function (void f() {}) should not be zero-length. It would contain a single 'ret' >instruction, no?</span>
<div>  <br>
</div>
I was fixing the case from testcase, where there is asm code that produces zero length range:<br>
</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">
<div>.section .text.foo1,"ax",@progbits</div>
<div>.Lfunc_begin0:</div>
<div>.Lfunc_end0:​<br>
</div>
<div><br>
</div>
<div>llvm-dwarfdump thinks this zero range is terminator now when dumps object file.<br>
</div>
<div>I provided more details about this on review page.<br>
</div>
<br>
</div>
<div class="gmail_quote">George.<br>
</div>
</div>
</div>
</div>
</body>
</html>