Merge remote-tracking branch 'origin/master' into amd-common
[deliverable/binutils-gdb.git] / include / ctf.h
index f371cd73c9439483bc16af77ab19024880459e34..168092b650e2ab025373d8ad8de5cee579278c5c 100644 (file)
@@ -1,5 +1,5 @@
 /* CTF format description.
-   Copyright (C) 2019 Free Software Foundation, Inc.
+   Copyright (C) 2019-2020 Free Software Foundation, Inc.
 
    This file is part of libctf.
 
@@ -353,6 +353,7 @@ union
 
 #define CTF_NAME_STID(name)            ((name) >> 31)
 #define CTF_NAME_OFFSET(name)          ((name) & CTF_MAX_NAME)
+#define CTF_SET_STID(name, stid)       ((name) | (stid) << 31)
 
 /* V2 only. */
 #define CTF_TYPE_INFO(kind, isroot, vlen) \
This page took 0.024388 seconds and 4 git commands to generate.