aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2025-05-07 11:18:03 +0200
committerGitHub <noreply@github.com>2025-05-07 11:18:03 +0200
commit18c5ad5c6c178365d270439742863e14c8981ea3 (patch)
treebb9c48c408e8b8772f4f6921ec8960d17d79c0c1 /clang/lib/CodeGen/CodeGenModule.cpp
parent47c7e73e5763f81f218cc4e1eae306d0427aa42d (diff)
downloadllvm-18c5ad5c6c178365d270439742863e14c8981ea3.zip
llvm-18c5ad5c6c178365d270439742863e14c8981ea3.tar.gz
llvm-18c5ad5c6c178365d270439742863e14c8981ea3.tar.bz2
[lldb] Fix block address resolution for functions in multiple sections (#137955)
Continuing the theme from #116777 and #124931, this patch ensures we compute the correct address when a functions is spread across multiple sections. Due to this, it's not sufficient to adjust the offset in the section+offset pair (Address::Slide). We must actually slide the file offset and then recompute the section using the result. I found this out due to a failure to disassemble some parts of the function, so I'm testing with that, although it's likely there are other things that were broken due to this.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions