diff options
author | Fangrui Song <i@maskray.me> | 2024-07-01 20:41:15 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2024-07-01 20:41:15 -0700 |
commit | c72cb2766cec0ac519a051780ae5aed42485e012 (patch) | |
tree | 6c0696ddd4739732b79d106ad51a6e7c00b80ef0 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | fb6e024f49ddbf1a018eccab7ccfa7c1f41964d0 (diff) | |
download | llvm-c72cb2766cec0ac519a051780ae5aed42485e012.zip llvm-c72cb2766cec0ac519a051780ae5aed42485e012.tar.gz llvm-c72cb2766cec0ac519a051780ae5aed42485e012.tar.bz2 |
[MC] Remove assert to work around BOLT
BOLT used a dummy `MCAsmLayout` to call `getSymbolOffset`, which is
technically not supported. There is some discussion in
https://reviews.llvm.org/D154604 that this is not ideal.
For now, remove the assert.
The assert was added by bbb50369a149d9a7d1f91efaaabf75c260a220c7.
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions