diff options
author | Yonghong Song <yhs@fb.com> | 2019-07-09 04:15:12 +0000 |
---|---|---|
committer | Yonghong Song <yhs@fb.com> | 2019-07-09 04:15:12 +0000 |
commit | e085b40e9c4e5e4ebfbd0f98da17b77dec908bf7 (patch) | |
tree | 5fcb240fcf9832c300a30f323da9a7a8defffb24 /clang/docs | |
parent | f21eeafcd9cd2dbb16d763e813ff21b215b5109b (diff) | |
download | bcm5719-llvm-e085b40e9c4e5e4ebfbd0f98da17b77dec908bf7.tar.gz bcm5719-llvm-e085b40e9c4e5e4ebfbd0f98da17b77dec908bf7.zip |
Revert "[BPF] Preserve debuginfo array/union/struct type/access index"
This reverts commit r365435.
Forgot adding the Differential Revision link. Will add to the
commit message and resubmit.
llvm-svn: 365436
Diffstat (limited to 'clang/docs')
-rw-r--r-- | clang/docs/LanguageExtensions.rst | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/clang/docs/LanguageExtensions.rst b/clang/docs/LanguageExtensions.rst index 1f631ed2d9a..1e4f72902ec 100644 --- a/clang/docs/LanguageExtensions.rst +++ b/clang/docs/LanguageExtensions.rst @@ -1950,35 +1950,6 @@ form of ``__builtin_operator_delete`` is currently available. These builtins are intended for use in the implementation of ``std::allocator`` and other similar allocation libraries, and are only available in C++. -``__builtin_preserve_access_index`` ------------------------------------ - -``__builtin_preserve_access_index`` specifies a code section where -array subscript access and structure/union member access are relocatable -under bpf compile-once run-everywhere framework. Debuginfo (typically -with ``-g``) is needed, otherwise, the compiler will exit with an error. - -**Syntax**: - -.. code-block:: c - - const void * __builtin_preserve_access_index(const void * ptr) - -**Example of Use**: - -.. code-block:: c - - struct t { - int i; - int j; - union { - int a; - int b; - } c[4]; - }; - struct t *v = ...; - const void *pb =__builtin_preserve_access_index(&v->c[3].b); - Multiprecision Arithmetic Builtins ---------------------------------- |