[PATCH] D149294: Do not optimize debug locations across section boundaries

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 1 18:49:35 PDT 2023


MaskRay added a comment.

> Prevent optimization of DebugLoc across section boundaries, such optimization will yield incorrect source location if memory layout of sections does not strictly match the Asm file.

Consider adding the `.loc    0 4 1` information to the summary (commit message).


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149294/new/

https://reviews.llvm.org/D149294



More information about the llvm-commits mailing list