diff options
author | Lang Hames <lhames@gmail.com> | 2022-04-05 17:04:55 -0700 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2022-04-05 17:38:54 -0700 |
commit | 9a62d9db2e1f6064e6c20344870f5e9d43a8de43 (patch) | |
tree | 24623a95674e4b76486732e7319a359cc6fb3223 /llvm/unittests/Support/ErrorTest.cpp | |
parent | 94d96c2a6201e0927e835b5c0e5b4cb8f95eeadf (diff) | |
download | llvm-9a62d9db2e1f6064e6c20344870f5e9d43a8de43.zip llvm-9a62d9db2e1f6064e6c20344870f5e9d43a8de43.tar.gz llvm-9a62d9db2e1f6064e6c20344870f5e9d43a8de43.tar.bz2 |
[JITLink][MachO] Fix alignment bug in the c-string literal section graphifier.
This function had been assuming a 1-byte alignment, which isn't always correct.
This commit updates it to take the alignment from the __cstring section.
The key change is to the createContentBlock call, but the surrounding code is
updated with clearer debugging output to support the testcase (and any future
debugging work).
Diffstat (limited to 'llvm/unittests/Support/ErrorTest.cpp')
0 files changed, 0 insertions, 0 deletions