[all-commits] [llvm/llvm-project] 114325: Kaleidoscope-Ch8: use Reloc::PIC_

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Dec 5 23:44:49 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 114325b86a3d0360afc772c44335fc9092686f58
      https://github.com/llvm/llvm-project/commit/114325b86a3d0360afc772c44335fc9092686f58
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-12-05 (Tue, 05 Dec 2023)

  Changed paths:
    M llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl08.rst
    M llvm/examples/Kaleidoscope/Chapter8/toy.cpp

  Log Message:
  -----------
  Kaleidoscope-Ch8: use Reloc::PIC_

which has better portability across different OSes.
In addition, on many ELF OSes, this output relocatable file can be
linked without -no-pie.




More information about the All-commits mailing list