[all-commits] [llvm/llvm-project] b97216: [JITLink] Rename 'i386' namespace and files to 'x86'.

Lang Hames via All-commits all-commits at lists.llvm.org
Wed May 7 18:56:53 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b972164f38133fbc878275f4ae324908ae14d750
      https://github.com/llvm/llvm-project/commit/b972164f38133fbc878275f4ae324908ae14d750
  Author: Lang Hames <lhames at gmail.com>
  Date:   2025-05-08 (Thu, 08 May 2025)

  Changed paths:
    R llvm/include/llvm/ExecutionEngine/JITLink/ELF_i386.h
    A llvm/include/llvm/ExecutionEngine/JITLink/ELF_x86.h
    R llvm/include/llvm/ExecutionEngine/JITLink/i386.h
    A llvm/include/llvm/ExecutionEngine/JITLink/x86.h
    M llvm/lib/ExecutionEngine/JITLink/CMakeLists.txt
    M llvm/lib/ExecutionEngine/JITLink/ELF.cpp
    R llvm/lib/ExecutionEngine/JITLink/ELF_i386.cpp
    A llvm/lib/ExecutionEngine/JITLink/ELF_x86.cpp
    M llvm/lib/ExecutionEngine/JITLink/JITLink.cpp
    R llvm/lib/ExecutionEngine/JITLink/i386.cpp
    A llvm/lib/ExecutionEngine/JITLink/x86.cpp
    R llvm/test/ExecutionEngine/JITLink/i386/ELF_external_to_absolute_conversion.s
    R llvm/test/ExecutionEngine/JITLink/i386/ELF_i386_absolute_relocations_16.s
    R llvm/test/ExecutionEngine/JITLink/i386/ELF_i386_absolute_relocations_32.s
    R llvm/test/ExecutionEngine/JITLink/i386/ELF_i386_minimal.s
    R llvm/test/ExecutionEngine/JITLink/i386/ELF_i386_pc_relative_relocations_32.s
    R llvm/test/ExecutionEngine/JITLink/i386/ELF_i386_small_pic_relocations_got.s
    R llvm/test/ExecutionEngine/JITLink/i386/ELF_i386_small_pic_relocations_plt.s
    R llvm/test/ExecutionEngine/JITLink/i386/lit.local.cfg
    A llvm/test/ExecutionEngine/JITLink/x86/ELF_external_to_absolute_conversion.s
    A llvm/test/ExecutionEngine/JITLink/x86/ELF_x86_absolute_relocations_16.s
    A llvm/test/ExecutionEngine/JITLink/x86/ELF_x86_absolute_relocations_32.s
    A llvm/test/ExecutionEngine/JITLink/x86/ELF_x86_minimal.s
    A llvm/test/ExecutionEngine/JITLink/x86/ELF_x86_pc_relative_relocations_32.s
    A llvm/test/ExecutionEngine/JITLink/x86/ELF_x86_small_pic_relocations_got.s
    A llvm/test/ExecutionEngine/JITLink/x86/ELF_x86_small_pic_relocations_plt.s
    A llvm/test/ExecutionEngine/JITLink/x86/lit.local.cfg

  Log Message:
  -----------
  [JITLink] Rename 'i386' namespace and files to 'x86'.

When building on i386, both clang and gcc define a builtin 'i386' macro (see
discussion in https://github.com/llvm/llvm-project/pull/137063). This causes
build errors in the JITLink/i386 backend when attempting to build LLVM on i386.

This commit renames the 'i386' backend (namespaces, APIs and files) to 'x86' to
avoid this issue.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list