diff options
author | Fangrui Song <i@maskray.me> | 2025-07-20 00:09:24 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2025-07-20 00:09:24 -0700 |
commit | 5ee34ff1e5cc952116f0da943ddaeb1a71db2940 (patch) | |
tree | 2fcda7a127c21f0632c1e3a1c85a0c37b74e2e4c /clang/unittests/Interpreter/InterpreterTest.cpp | |
parent | 9e587ce6f0da91ee71dd6920dff0930b291169bb (diff) | |
download | llvm-5ee34ff1e5cc952116f0da943ddaeb1a71db2940.zip llvm-5ee34ff1e5cc952116f0da943ddaeb1a71db2940.tar.gz llvm-5ee34ff1e5cc952116f0da943ddaeb1a71db2940.tar.bz2 |
MC: Optimize emitInstruction and simplify fragment-in-BSS check
Move the FT_Relaxable-in-BSS check from frequently-called
MCObjectStreamer::emitInstruction to MCAssembler::writeSectionData,
along with existing checks for other fragment types. For the uncommon
diagnostics, losing the location information is acceptable.
Diffstat (limited to 'clang/unittests/Interpreter/InterpreterTest.cpp')
0 files changed, 0 insertions, 0 deletions