aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
diff options
context:
space:
mode:
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>2021-07-02 11:25:43 +0100
committerAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>2021-07-02 12:17:55 +0100
commitc142c06c19b3725f26f33652db098a2302586f22 (patch)
tree3143c94617ef9340e7f5144ecc21f6470b48ae88 /lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
parent791ddb79f1dde3432f6214c1c8deadc59151b15e (diff)
downloadllvm-c142c06c19b3725f26f33652db098a2302586f22.zip
llvm-c142c06c19b3725f26f33652db098a2302586f22.tar.gz
llvm-c142c06c19b3725f26f33652db098a2302586f22.tar.bz2
Place the BlockAddress type in the address space of the containing function
While this should not matter for most architectures (where the program address space is 0), it is important for CHERI (and therefore Arm Morello). We use address space 200 for all of our code pointers and without this change we assert in the SelectionDAG handling of BlockAddress nodes. It is also useful for AVR: previously programs targeting AVR that attempt to read their own machine code via a pointer to a label would instead read from RAM using a pointer relative to the the start of program flash. Reviewed By: dylanmckay, theraven Differential Revision: https://reviews.llvm.org/D48803
Diffstat (limited to 'lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp')
0 files changed, 0 insertions, 0 deletions