[PATCH] D69393: [RFC][DebugInfo] emit user specified address_space in dwarf

Alexei Starovoitov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 24 20:23:43 PDT 2019


ast added a comment.

> The address spaces envisioned by the Linux kernel appear to be more informational and not descriptive of hardware characteristics.

>From the kernel pov the `__user` and normal are two different address spaces that must be accessed via different kernel primitives.
User access needs stac/clac on x86 and other precautions.
iirc other architectures have co-processor address space that needs its own load/store equivalents.
`__percpu` is also different address space. It's roughly equivalent to `__thread` in user space.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69393





More information about the cfe-commits mailing list