summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2015-12-30 13:49:20 +0000
committermarius <marius@FreeBSD.org>2015-12-30 13:49:20 +0000
commit05a298f61f7894da149deb096693e926cdd71245 (patch)
tree00e0062ac2fe0bfae1a18c58e896aaac87a9e388 /contrib/llvm/tools/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
parent57db7407a7be3663a5aa3a3fa0c39cbb83e3bd7f (diff)
downloadFreeBSD-src-05a298f61f7894da149deb096693e926cdd71245.zip
FreeBSD-src-05a298f61f7894da149deb096693e926cdd71245.tar.gz
- (Ab)use udivx for dividing the u_int pc_cpuid when implementing
CPU_ISSET(), CPU_SET etc. in sparc64 asm. This approach has the benefit of not clobbering %y, allowing to revert r222827 and partially r222828. - In r222828, CATR() already was changed to use the equivalent of PCPU_GET(cpuid) instead of the MD module ID for KTR_CPU, so belatedly also catch up with the C side of ktr(9). Originally, in r203838 CATR() was moved away from directly reading the module ID or equivalent as that became impractical with other CPU types than USI/II supported. With r222828 in place, per-CPU data generally is set up soon enough, though, that employing PCPU things in ktr(9) also for use during early stages works. - Unfortunately, an exception to the latter is the ktr(9) use in pmap_bootstrap(), which actually is run so early that even checking for bootverbose being set via the loader doesn't work. Consequently, replace the ktr(9) use in pmap_bootstrap() with OF_printf(9) and put it under #ifdef DIAGNOSTIC instead. MFC after: 3 days
Diffstat (limited to 'contrib/llvm/tools/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud