diff options
author | Jez Ng <jezng@fb.com> | 2021-10-26 11:36:09 -0400 |
---|---|---|
committer | Jez Ng <jezng@fb.com> | 2021-10-26 11:38:01 -0400 |
commit | 622150ad5f21149ae010188a06707d07b4d3865b (patch) | |
tree | ad2884b36b2a08acfc2dbe36b4db54cab5a8e229 /llvm/lib/CodeGen/ModuloSchedule.cpp | |
parent | 2174524116a8379fb7a6453253524ec972b158df (diff) | |
download | llvm-622150ad5f21149ae010188a06707d07b4d3865b.zip llvm-622150ad5f21149ae010188a06707d07b4d3865b.tar.gz llvm-622150ad5f21149ae010188a06707d07b4d3865b.tar.bz2 |
[lld-macho] Put GOT into `__DATA` segment where appropriate
We were previously always emitting the GOT into `__DATA_CONST`, even for
target platforms where it should end up in `__DATA`.
I stumbled onto this while trying to use the `class-dump` tool -- with
the wrong segment names, it fails to locate the ObjC runtime info and
therefore fails to dump any classes.
Reviewed By: #lld-macho, oontvoo
Differential Revision: https://reviews.llvm.org/D112500
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions