[all-commits] [llvm/llvm-project] 385013: [X86] Handle ifuncs in TargetMachine::isLargeGloba...

Arthur Eubanks via All-commits all-commits at lists.llvm.org
Mon Dec 11 19:01:58 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3850131197b7508e2e2f25f966f75105a0be3929
      https://github.com/llvm/llvm-project/commit/3850131197b7508e2e2f25f966f75105a0be3929
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2023-12-11 (Mon, 11 Dec 2023)

  Changed paths:
    M llvm/lib/Target/TargetMachine.cpp
    M llvm/test/CodeGen/X86/code-model-elf.ll

  Log Message:
  -----------
  [X86] Handle ifuncs in TargetMachine::isLargeGlobalObject() (#74911)

isLargeGlobalObject() didn't handle GlobalIFuncs, resulting in crashes.

Treat ifuncs the same as normal Functions.




More information about the All-commits mailing list