[all-commits] [llvm/llvm-project] 3a4703: [BOLT] Fix instrumentation problem with floating p...

maksfb via All-commits all-commits at lists.llvm.org
Fri Jul 1 15:29:57 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3a47037fcc3cc4407aaee520c684ff0c2c5497d1
      https://github.com/llvm/llvm-project/commit/3a47037fcc3cc4407aaee520c684ff0c2c5497d1
  Author: Maksim Panchenko <maks at fb.com>
  Date:   2022-07-01 (Fri, 01 Jul 2022)

  Changed paths:
    M bolt/runtime/CMakeLists.txt
    A bolt/test/runtime/X86/instrumentation-xmm.c

  Log Message:
  -----------
  [BOLT] Fix instrumentation problem with floating point

If BOLT instrumentation runtime uses XMM registers, it can interfere
with the user program causing crashes and unexpected behavior. This
happens as the instrumentation code preserves general purpose registers
only.

Build BOLT instrumentation runtime with "-mno-sse".

Reviewed By: Amir

Differential Revision: https://reviews.llvm.org/D128960




More information about the All-commits mailing list