[all-commits] [llvm/llvm-project] 284570: [llvm-jitlink] Fix detectStubKind() for big endian...

Stefan Gränitz via All-commits all-commits at lists.llvm.org
Thu Feb 1 13:44:04 PST 2024


  Branch: refs/heads/release/18.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 284570a985e95e3d8118cde2b0198bbbdc9b19ad
      https://github.com/llvm/llvm-project/commit/284570a985e95e3d8118cde2b0198bbbdc9b19ad
  Author: Stefan Gränitz <stefan.graenitz at gmail.com>
  Date:   2024-02-01 (Thu, 01 Feb 2024)

  Changed paths:
    M llvm/tools/llvm-jitlink/llvm-jitlink.cpp

  Log Message:
  -----------
  [llvm-jitlink] Fix detectStubKind() for big endian systems (#79970)

This function is used in `jitlink-check` lines in LIT tests. In #78371 I
missed to swap initial instruction bytes for systems that store the
constants as big-endian.

(cherry picked from commit 8a5bdd899f3cb57024d92b96c16e805ca9924ac7)




More information about the All-commits mailing list