<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Mon, Mar 12, 2018 at 12:52 PM Alexey Bataev via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">ABataev added inline comments.<br>
<br>
<br>
================<br>
Comment at: test/DebugInfo/X86/no_debug_ranges.ll:4<br>
+<br>
+; DISABLED-NOT:  {{DW_AT_ranges|.debug_ranges}}<br>
+; DISABLED:      .section .debug_info<br>
----------------<br>
dblaikie wrote:<br>
> probably check for only .debug_ranges here? (since it's outside the debug_info section, so any mention of DW_AT_ranges wouldn't be too relevant (short of the abbrev section, but no need to check for that when you're checking for the contents of debug_info anyway, I think))<br>
There can be .debug_abbrev section with DW_AT_ranges, we need to be sure that no ranges info is generated<br></blockquote><div><br>Right, but the same property is already tested for in the debug_info section testing, I think.<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
================<br>
Comment at: test/DebugInfo/X86/no_debug_ranges.ll:6<br>
+; DISABLED:      .section .debug_info<br>
+; DISABLED-NOT:  {{DW_AT_ranges|.debug_ranges}}<br>
+; DISABLED:      .quad .Lfunc_begin0 # DW_AT_low_pc<br>
----------------<br>
dblaikie wrote:<br>
> probably replace ".debug_ranges" with ".section" here? (ie: make sure the low/high pc you're checking for is in the debug_info section, and make sure that section doesn't include a DW_AT_ranges)<br>
Ok<br>
<br>
<br>
Repository:<br>
  rL LLVM<br>
<br>
<a href="https://reviews.llvm.org/D44384" rel="noreferrer" target="_blank">https://reviews.llvm.org/D44384</a><br>
<br>
<br>
<br>
</blockquote></div></div>