[all-commits] [llvm/llvm-project] c72cb2: [MC] Remove assert to work around BOLT
Fangrui Song via All-commits
all-commits at lists.llvm.org
Mon Jul 1 20:41:37 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c72cb2766cec0ac519a051780ae5aed42485e012
https://github.com/llvm/llvm-project/commit/c72cb2766cec0ac519a051780ae5aed42485e012
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-01 (Mon, 01 Jul 2024)
Changed paths:
M llvm/lib/MC/MCAssembler.cpp
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list