[PATCH] D148046: Map from module-relative addresses in MarkupContext.

Daniel Thornburgh via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 11 13:55:29 PDT 2023


mysterymath created this revision.
mysterymath added reviewers: jhenderson, mcgrathr, phosek.
Herald added a subscriber: hiraditya.
Herald added a project: All.
mysterymath requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This makes it an error for module-relative addresses to overlap. mmap
addresses are expected to be the runtime locations of the
module-relative virtual addresses, so the mapping should always be 1:1.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D148046

Files:
  llvm/include/llvm/DebugInfo/Symbolize/MarkupContext.h
  llvm/lib/DebugInfo/Symbolize/MarkupContext.cpp
  llvm/lib/DebugInfo/Symbolize/MarkupFilter.cpp
  llvm/test/DebugInfo/symbolize-filter-markup-data.test
  llvm/test/DebugInfo/symbolize-filter-markup-dump-context.test
  llvm/test/DebugInfo/symbolize-filter-markup-mmap.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148046.512572.patch
Type: text/x-patch
Size: 10163 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230411/9334b31b/attachment.bin>


More information about the llvm-commits mailing list