summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>2017-03-08 23:55:44 +0000
committerKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>2017-03-08 23:55:44 +0000
commitd5561e0a0bbd484da17d3b68ae5fedc0a057246b (patch)
tree40642d65e0adf50eae29e4cb204584c0de1a633c /llvm/docs
parentd4cb9c6da0b940e0b13c1c5a286cc67d31267d70 (diff)
downloadbcm5719-llvm-d5561e0a0bbd484da17d3b68ae5fedc0a057246b.tar.gz
bcm5719-llvm-d5561e0a0bbd484da17d3b68ae5fedc0a057246b.zip
[DebugInfo] Emit address space with DW_AT_address_class attribute for pointer and reference types
Differential Revision: https://reviews.llvm.org/D29670 llvm-svn: 297320
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/AMDGPUUsage.rst24
1 files changed, 14 insertions, 10 deletions
diff --git a/llvm/docs/AMDGPUUsage.rst b/llvm/docs/AMDGPUUsage.rst
index ffb0e677e9a..5ff0f207f22 100644
--- a/llvm/docs/AMDGPUUsage.rst
+++ b/llvm/docs/AMDGPUUsage.rst
@@ -19,20 +19,24 @@ Address Spaces
The AMDGPU back-end uses the following address space mapping:
- ============= ============================================
- Address Space Memory Space
- ============= ============================================
- 0 Private
- 1 Global
- 2 Constant
- 3 Local
- 4 Generic (Flat)
- 5 Region
- ============= ============================================
+ ================== =================== ==============
+ LLVM Address Space DWARF Address Space Memory Space
+ ================== =================== ==============
+ 0 1 Private
+ 1 N/A Global
+ 2 N/A Constant
+ 3 2 Local
+ 4 N/A Generic (Flat)
+ 5 N/A Region
+ ================== =================== ==============
The terminology in the table, aside from the region memory space, is from the
OpenCL standard.
+LLVM Address Space is used throughout LLVM (for example, in LLVM IR). DWARF
+Address Space is emitted in DWARF, and is used by tools, such as debugger,
+profiler and others.
+
Trap Handler ABI
----------------
The OS element of the target triple controls the trap handler behavior.
OpenPOWER on IntegriCloud