[PATCH] D85085: Fix debug_loc offset difference with basic block sections
Sriraman Tallam via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 3 14:38:13 PDT 2020
tmsriram added a comment.
In D85085#2191679 <https://reviews.llvm.org/D85085#2191679>, @dblaikie wrote:
> Trying to reproduce this (by taking the .ll test case and compiling it with clang -c) I don't get any debug_loc section or DW_AT_locations. Is there something I'm missing about how to reproduce this?
>
> (trying to see what the non-bb-sections location description looks like - if it depends on basic block ordering, it's probably incorrect anyway, and might be worth fixing so it doesn't depend on that non-guaranteed property & then there'll be less divergence between bb-sections and not)
Yes, you are right. The debug_loc section is not generated without basic block sections, I will dig more.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85085/new/
https://reviews.llvm.org/D85085
More information about the llvm-commits
mailing list