[PATCH] D102292: [docs] Add page on opaque pointer types

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 12 11:42:24 PDT 2021


aeubanks added a comment.

In D102292#2753579 <https://reviews.llvm.org/D102292#2753579>, @nlopes wrote:

> Can you clarify if this only for data type or also for function types pls?
> (data and function pointer types don't have the same bit-width on all architectures)

This should apply to all pointer types.
Do you have an example in LLVM of where this matters for function vs data?
In TargetMachine I only see the pointer size differences per address space, not function vs data. `TargetMachine::getPointerSize()`/`DataLayout::getPointerSize()`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102292/new/

https://reviews.llvm.org/D102292



More information about the llvm-commits mailing list