diff options
| author | Fangrui Song <i@maskray.me> | 2024-05-20 11:31:56 -0700 |
|---|---|---|
| committer | Fangrui Song <i@maskray.me> | 2024-05-20 11:31:56 -0700 |
| commit | 245491a9f384e4c53421196533c2a2b693efaf8d (patch) | |
| tree | d90b39ce584d1ef7594d5d915d6ccc6093083f02 /lldb/test/API/python_api/debugger | |
| parent | 3591da9f1ccbd8b19fef4814f96638dbbe9c2b40 (diff) | |
[MC] Disable MCAssembler based constant folding for DwarfDebug
Related to the poor performance of MCAssembler based constant folding
(see `bool MCExpr::evaluateAsAbsolute(int64_t &Res, const MCAssembler *Asm) const` and
`AttemptToFoldSymbolOffsetDifference`),
commit 9500a5d02e23f9b43294e5f662ac099f8989c0e4 (#91082) caused -O0 -g
compile time regression.
9500a5d02e23f9b43294e5f662ac099f8989c0e4 special cased .eh_frame FDE
emitting. This patch adds a special case to .debug_* emitting as well to
mitigate the rest regression.
The MCAssembler based constant folding strategy should be improved to
remove the two special cases.
Diffstat (limited to 'lldb/test/API/python_api/debugger')
0 files changed, 0 insertions, 0 deletions
