[all-commits] [llvm/llvm-project] 2ccb94: [AVR] Fix global references to function symbols

Dylan McKay via All-commits all-commits at lists.llvm.org
Tue Feb 9 03:42:26 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ccb941740e608a9cf70a7c5840497149654b0f6
      https://github.com/llvm/llvm-project/commit/2ccb941740e608a9cf70a7c5840497149654b0f6
  Author: Dylan McKay <me at dylanmckay.io>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M llvm/include/llvm/MC/MCExpr.h
    M llvm/lib/MC/MCExpr.cpp
    M llvm/lib/Target/AVR/AVRAsmPrinter.cpp
    M llvm/lib/Target/AVR/MCTargetDesc/AVRELFObjectWriter.cpp
    M llvm/lib/Target/AVR/MCTargetDesc/AVRMCExpr.cpp
    M llvm/lib/Target/AVR/MCTargetDesc/AVRMCExpr.h
    A llvm/test/CodeGen/AVR/rust-trait-object.ll
    M llvm/test/MC/AVR/relocations.s

  Log Message:
  -----------
  [AVR] Fix global references to function symbols

References to functions are in program memory and need a `pm()` fixup. This should fix trait objects for Rust on AVR.

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

Patch by Alex Mikhalev.




More information about the All-commits mailing list