1 \chapter[Attributes by Tag (Informative)]{Attributes by Tag Value (Informative)}
2 \label{chap:attributesbytagvalueinformative}
4 The table below enumerates the attributes that are
5 most applicable to each type of debugging information
6 entry. DWARF does not in general require that a given
7 debugging information entry contain a particular attribute
8 or set of attributes. Instead, a DWARF producer is free to
9 generate any, all, or none of the attributes described in the
10 text as being applicable to a given entry. Other attributes
11 (both those defined within this document but not explicitly
12 associated with the entry in question, and new, vendor-defined
13 ones) may also appear in a given debugging information
14 entry. Therefore, the table may be taken as instructive, but
15 cannot be considered definitive.
17 In the following table, the following special conventions apply:
18 \begin{enumerate}[1. ]
22 \livetarg{chap:DECL}{}
23 pseudo-attribute stands for all three of the
24 \addtoindex{declaration coordinates}
29 \item The \DWATdescription{} attribute can be used on any
30 debugging information entry that may have a \DWATname{} attribute.
31 For simplicity, this attribute is not explicitly shown.
33 \item The \DWATsibling{} attribute can be used on any
34 debugging information entry.
35 For simplicity, this attribute is not explicitly shown.
37 \item The \DWATabstractorigin{} attribute can be used with
38 almost any debugging information entry;
39 the exceptions are mostly the compilation
41 For simplicity, this attribute is not explicitly shown.
48 \label{tab:attributesbytag}
49 \setlength{\extrarowheight}{0.1cm}
50 \begin{longtable}{l|l}
51 \caption{Attributes by tag value} \\
52 \hline \bfseries TAG name&\bfseries Applicable attributes\\ \hline
54 \bfseries TAG name&\bfseries Applicable attributes \\ \hline
56 \hline \emph{Continued on next page}
61 \DWTAGaccessdeclaration{}
62 &\livelink{chap:DECL}{DECL} \\*
63 &\DWATaccessibility{} \\*
64 %\DWATdescription{} \\*
69 &\livelink{chap:DECL}{DECL} \\*
70 &\DWATaccessibility{} \\*
73 &\DWATassociated{} \\*
77 &\DWATdatalocation{} \\*
78 &\DWATdeclaration{} \\*
79 %\DWATdescription{} \\*
83 &\DWATspecification{} \\*
84 &\DWATstartscope{} \\*
90 &\livelink{chap:DECL}{DECL} \\*
97 &\livelink{chap:DECL}{DECL} \\*
100 &\DWATassociated{} \\*
101 &\DWATbinaryscale{} \\*
102 %&\DWATbitoffset{} \\*
105 &\DWATdatabitoffset{} \\*
106 &\DWATdatalocation{} \\*
107 &\DWATdecimalscale{} \\*
108 &\DWATdecimalsign{} \\*
109 %\DWATdescription{} \\*
110 &\DWATdigitcount{} \\*
112 &\DWATendianity{} \\*
114 &\DWATpicturestring{} \\*
124 &\DWATcallreturnpc \\*
125 &\DWATcalltailcall \\*
127 &\DWATcalltargetclobbered \\*
131 \DWTAGcallsiteparameter
132 &\DWATcalldatalocation \\*
133 &\DWATcalldatavalue \\*
134 &\DWATcallparameter \\*
142 &\livelink{chap:DECL}{DECL} \\*
151 &\livelink{chap:DECL}{DECL} \\*
152 &\DWATaccessibility{} \\*
153 &\DWATalignment{} \\*
154 &\DWATallocated{} \\*
155 &\DWATassociated{} \\*
158 &\DWATcallingconvention{} \\*
159 &\DWATdatalocation{} \\*
160 &\DWATdeclaration{} \\*
161 %\DWATdescription{} \\*
162 &\DWATexportsymbols{} \\*
164 &\DWATsignature{} \\*
165 &\DWATspecification{} \\*
166 &\DWATstartscope{} \\*
167 &\DWATvisibility{} \\
171 &\livelink{chap:DECL}{DECL} \\*
172 &\DWATalignment{} \\*
176 %\DWATdescription{} \\*
181 &\livelink{chap:DECL}{DECL} \\*
182 &\DWATdeclaration{} \\*
183 %\DWATdescription{} \\*
184 &\DWATlinkagename{} \\*
188 &\DWATvisibility{} \\
191 \DWTAGcommoninclusion
192 &\livelink{chap:DECL}{DECL} \\*
193 &\DWATcommonreference{} \\*
194 &\DWATdeclaration{} \\*
195 &\DWATvisibility{} \\
200 &\DWATbasetypes{} \\*
202 \bbeb %\DWATdwoid{} \\*
203 \bbeb %\DWATdwoname{} \\*
205 &\DWATidentifiercase{} \\*
210 &\DWATmainsubprogram{} \\*
214 &\DWATrangesbase{} \\*
217 &\DWATstroffsetsbase{} \\*
218 &\DWATuseUTFeight{} \\
222 &\livelink{chap:DECL}{DECL} \\*
227 &\livelink{chap:DECL}{DECL} \\*
228 &\DWATalignment{} \\*
234 &\livelink{chap:DECL}{DECL} \\*
235 &\DWATaccessibility{} \\*
236 &\DWATconstvalue{} \\*
237 &\DWATdeclaration{} \\*
238 %\DWATdescription{} \\*
239 &\DWATendianity{} \\*
241 &\DWATlinkagename{} \\*
243 &\DWATstartscope{} \\*
245 &\DWATvisibility{} \\
253 &\livelink{chap:DECL}{DECL} \\*
254 &\DWATalignment{} \\*
257 &\DWATdatalocation \\*
258 %\DWATdescription \\*
264 &\livelink{chap:DECL}{DECL} \\*
265 &\DWATaddressclass{} \\*
266 %\DWATdescription{} \\*
267 &\DWATframebase{} \\*
268 &\DWATlinkagename{} \\*
271 &\DWATreturnaddr{} \\*
273 &\DWATstaticlink{} \\*
277 \DWTAGenumerationtype
278 &\livelink{chap:DECL}{DECL} \\*
279 &\DWATaccessibility{} \\*
280 &\DWATalignment{} \\*
281 &\DWATallocated{} \\*
282 &\DWATassociated{} \\*
284 &\DWATbitstride{} \\*
286 &\DWATbytestride{} \\*
287 &\DWATdatalocation{} \\*
288 &\DWATdeclaration{} \\*
289 %\DWATdescription{} \\*
290 &\DWATenumclass{} \\*
292 &\DWATsignature{} \\*
293 &\DWATspecification{} \\*
294 &\DWATstartscope{} \\*
296 &\DWATvisibility{} \\
300 &\livelink{chap:DECL}{DECL} \\*
301 &\DWATconstvalue{} \\*
302 %\DWATdescription{} \\*
307 &\livelink{chap:DECL}{DECL} \\*
308 &\DWATalignment{} \\*
309 &\DWATallocated{} \\*
310 &\DWATassociated{} \\*
313 &\DWATdatalocation{} \\*
314 %\DWATdescription{} \\*
316 &\DWATstartscope{} \\*
318 &\DWATvisibility{} \\*
321 \DWTAGformalparameter
322 &\livelink{chap:DECL}{DECL} \\*
323 &\DWATartificial{} \\*
324 &\DWATconstvalue{} \\*
325 &\DWATdefaultvalue{} \\*
326 %\DWATdescription{} \\*
327 &\DWATendianity{} \\*
328 &\DWATisoptional{} \\*
333 &\DWATvariableparameter{} \\
337 &\livelink{chap:DECL}{DECL} \\*
341 % Please keep in synch with DW_TAG_subrange_type.
342 \DWTAGgenericsubrange
343 &\livelink{chap:DECL}{DECL} \\*
344 &\DWATaccessibility{} \\*
345 &\DWATalignment{} \\*
346 &\DWATallocated{} \\*
347 &\DWATassociated{} \\*
349 &\DWATbitstride{} \\*
351 &\DWATbytestride{} \\*
353 &\DWATdatalocation{} \\*
354 &\DWATdeclaration{} \\*
355 %\DWATdescription{} \\*
356 &\DWATlowerbound{} \\*
358 &\DWATthreadsscaled{} \\*
360 &\DWATupperbound{} \\*
361 &\DWATvisibility{} \\
364 \DWTAGimporteddeclaration
365 &\livelink{chap:DECL}{DECL} \\*
366 &\DWATaccessibility{} \\*
367 %\DWATdescription{} \\*
370 &\DWATstartscope{} \\
374 &\livelink{chap:DECL}{DECL} \\*
376 &\DWATstartscope{} \\
384 &\livelink{chap:DECL}{DECL} \\*
385 &\DWATaccessibility{} \\*
386 &\DWATdatamemberlocation{} \\*
388 &\DWATvirtuality{} \\
391 \DWTAGinlinedsubroutine
392 &\DWATcallcolumn{} \\*
395 &\DWATconstexpr{} \\*
400 &\DWATreturnaddr{} \\*
402 &\DWATstartscope{} \\*
403 &\DWATtrampoline{} \\
407 &\livelink{chap:DECL}{DECL} \\*
408 &\DWATaccessibility{} \\*
409 &\DWATalignment{} \\*
410 %\DWATdescription{} \\*
413 &\DWATstartscope{} \\*
417 &\livelink{chap:DECL}{DECL} \\*
418 %\DWATdescription{} \\*
422 &\DWATstartscope{} \\*
426 &\livelink{chap:DECL}{DECL} \\*
427 %\DWATdescription{} \\*
437 &\livelink{chap:DECL}{DECL} \\*
438 &\DWATaccessibility{} \\*
439 &\DWATartificial{} \\*
440 %&\DWATbitoffset{} \\*
443 &\DWATdatabitoffset{} \\*
444 &\DWATdatamemberlocation{} \\*
445 &\DWATdeclaration{} \\*
446 %\DWATdescription{} \\*
450 &\DWATvisibility{} \\*
454 &\livelink{chap:DECL}{DECL} \\*
455 &\DWATaccessibility{} \\*
456 &\DWATdeclaration{} \\*
457 %\DWATdescription{} \\*
465 &\DWATspecification{} \\*
466 &\DWATvisibility{} \\
470 &\livelink{chap:DECL}{DECL} \\*
471 &\DWATaccessibility{} \\*
472 &\DWATdeclaration{} \\*
474 &\DWATvisibility{} \\
478 &\livelink{chap:DECL}{DECL} \\*
479 &\DWATnamelistitem{} \\
483 &\livelink{chap:DECL}{DECL} \\*
484 %\DWATdescription{} \\*
485 &\DWATexportsymbols{} \\*
486 &\DWATextension{} \\*
488 &\DWATstartscope{} \\
492 &\livelink{chap:DECL}{DECL} \\*
493 &\DWATalignment{} \\*
500 &\DWATbasetypes{} \\*
502 %\DWATdescription{} \\*
503 \bbeb %&\DWATdwoid{} \\*
506 &\DWATidentifiercase{} \\*
511 &\DWATmainsubprogram{} \\*
515 &\DWATrangesbase{} \\*
518 &\DWATstroffsetsbase{} \\*
519 &\DWATuseUTFeight{} \\
523 &\livelink{chap:DECL}{DECL} \\*
524 &\DWATaddressclass{} \\*
525 &\DWATalignment{} \\*
532 \DWTAGptrtomembertype
533 &\livelink{chap:DECL}{DECL} \\*
534 &\DWATaddressclass{} \\*
535 &\DWATalignment{} \\*
536 &\DWATallocated{} \\*
537 &\DWATassociated{} \\*
538 &\DWATcontainingtype{} \\*
539 &\DWATdatalocation{} \\*
540 &\DWATdeclaration{} \\*
541 %\DWATdescription{} \\*
544 &\DWATuselocation{} \\*
545 &\DWATvisibility{} \\
549 &\livelink{chap:DECL}{DECL} \\*
550 &\DWATaddressclass{} \\*
551 &\DWATalignment{} \\*
559 &\livelink{chap:DECL}{DECL} \\*
560 &\DWATalignment{} \\*
565 \DWTAGrvaluereferencetype
566 &\livelink{chap:DECL}{DECL} \\*
567 &\DWATaddressclass{} \\*
568 &\DWATalignment{} \\*
576 &\livelink{chap:DECL}{DECL} \\*
577 &\DWATaccessibility{} \\*
578 &\DWATalignment{} \\*
579 &\DWATallocated{} \\*
580 &\DWATassociated{} \\*
583 &\DWATdatalocation{} \\*
584 &\DWATdeclaration{} \\*
585 %\DWATdescription{} \\*
587 &\DWATstartscope{} \\*
589 &\DWATvisibility{} \\
593 &\livelink{chap:DECL}{DECL} \\*
595 &\DWATalignment{} \\*
608 &\DWATrangesbase{} \\*
610 &\DWATstroffsetsbase{} \\*
617 &\livelink{chap:DECL}{DECL} \\*
618 &\DWATalignment{} \\*
619 &\DWATaccessibility{} \\*
620 &\DWATallocated{} \\*
621 &\DWATassociated{} \\*
624 &\DWATdatalocation{} \\*
625 &\DWATdeclaration{} \\*
626 %\DWATdescription{} \\*
628 &\DWATstartscope{} \\*
629 &\DWATstringlength{} \\*
630 &\DWATstringlengthbitsize{} \\*
631 &\DWATstringlengthbytesize{} \\*
632 &\DWATvisibility{} \\
636 &\livelink{chap:DECL}{DECL} \\*
637 &\DWATaccessibility{} \\*
638 &\DWATalignment{} \\*
639 &\DWATallocated{} \\*
640 &\DWATassociated{} \\*
643 &\DWATcallingconvention{} \\*
644 &\DWATdatalocation{} \\*
645 &\DWATdeclaration{} \\*
646 %\DWATdescription{} \\*
647 &\DWATexportsymbols{} \\*
649 &\DWATsignature{} \\*
650 &\DWATspecification{} \\*
651 &\DWATstartscope{} \\*
652 &\DWATvisibility{} \\
656 &\livelink{chap:DECL}{DECL} \\*
657 &\DWATaccessibility{} \\*
658 &\DWATaddressclass{} \\*
659 &\DWATalignment{} \\*
660 &\DWATartificial{} \\*
661 &\DWATcallingconvention{} \\*
662 &\DWATdeclaration{} \\*
663 &\DWATdefaulted{} \\*
665 %\DWATdescription{} \\*
666 &\DWATelemental{} \\*
670 &\DWATframebase{} \\*
673 &\DWATlinkagename{} \\*
675 &\DWATmainsubprogram{} \\*
678 &\DWATobjectpointer{} \\*
679 &\DWATprototyped{} \\*
682 &\DWATrecursive{} \\*
683 &\DWATreference{} \\*
684 &\DWATreturnaddr{} \\*
685 &\DWATrvaluereference{} \\*
687 &\DWATspecification{} \\*
688 &\textit{Additional attributes continue on next page} \\
689 \DWTAGsubprogram{} (cont.)
690 &\DWATstartscope{} \\*
691 &\DWATstaticlink{} \\*
692 &\DWATtrampoline{} \\*
694 &\DWATvisibility{} \\*
695 &\DWATvirtuality{} \\*
696 &\DWATvtableelemlocation{} \\
700 &\livelink{chap:DECL}{DECL} \\*
701 &\DWATaccessibility{} \\*
702 &\DWATalignment{} \\*
703 &\DWATallocated{} \\*
704 &\DWATassociated{} \\*
706 &\DWATbitstride{} \\*
708 &\DWATbytestride{} \\*
710 &\DWATdatalocation{} \\*
711 &\DWATdeclaration{} \\*
712 %\DWATdescription{} \\*
713 &\DWATlowerbound{} \\*
715 &\DWATthreadsscaled{} \\*
717 &\DWATupperbound{} \\*
718 &\DWATvisibility{} \\
722 &\livelink{chap:DECL}{DECL} \\*
723 &\DWATaccessibility{} \\*
724 &\DWATaddressclass{} \\*
725 &\DWATalignment{} \\*
726 &\DWATallocated{} \\*
727 &\DWATassociated{} \\*
728 &\DWATdatalocation{} \\*
729 &\DWATdeclaration{} \\*
730 %\DWATdescription{} \\*
732 &\DWATprototyped{} \\*
733 &\DWATreference{} \\*
734 &\DWATrvaluereference{} \\*
735 &\DWATstartscope{} \\*
737 &\DWATvisibility{} \\
741 &\livelink{chap:DECL}{DECL} \\*
742 &\DWATaccessibility{} \\*
743 &\DWATallocated{} \\*
744 &\DWATassociated{} \\*
745 &\DWATdatalocation{} \\*
746 &\DWATdeclaration{} \\*
747 %\DWATdescription{} \\*
749 &\DWATsignature{} \\*
750 &\DWATstartscope{} \\*
752 &\DWATvisibility{} \\
755 \DWTAGtemplatetypeparameter
756 &\livelink{chap:DECL}{DECL} \\*
757 &\DWATdefaultvalue{} \\*
758 %\DWATdescription{} \\*
763 \DWTAGtemplatevalueparameter{}
764 &\livelink{chap:DECL}{DECL} \\*
765 &\DWATconstvalue{} \\*
766 &\DWATdefaultvalue{} \\*
767 %\DWATdescription{} \\*
773 &\livelink{chap:DECL}{DECL} \\*
774 &\DWATalignment{} \\*
775 &\DWATallocated{} \\*
776 &\DWATassociated{} \\*
777 &\DWATdatalocation{} \\*
783 &\livelink{chap:DECL}{DECL} \\*
792 &\livelink{chap:DECL}{DECL} \\*
793 &\DWATaccessibility{} \\*
794 &\DWATalignment{} \\*
795 &\DWATallocated{} \\*
796 &\DWATassociated{} \\*
797 &\DWATdatalocation{} \\*
798 &\DWATdeclaration{} \\*
799 %\DWATdescription{} \\*
801 &\DWATstartscope{} \\*
803 &\DWATvisibility{} \\
809 &\DWATstroffsetsbase{} \\*
810 &\DWATuseUTFeight{} \\
814 &\livelink{chap:DECL}{DECL} \\*
815 &\DWATaccessibility{} \\*
816 &\DWATalignment{} \\*
817 &\DWATallocated{} \\*
818 &\DWATassociated{} \\*
821 &\DWATcallingconvention{} \\*
822 &\DWATdatalocation{} \\*
823 &\DWATdeclaration{} \\*
824 %\DWATdescription{} \\*
825 &\DWATexportsymbols{} \\*
827 &\DWATsignature{} \\*
828 &\DWATspecification{} \\*
829 &\DWATstartscope{} \\*
830 &\DWATvisibility{} \\
833 \DWTAGunspecifiedparameters
834 &\livelink{chap:DECL}{DECL} \\*
835 &\DWATartificial{} \\
838 \DWTAGunspecifiedtype
839 &\livelink{chap:DECL}{DECL} \\*
840 %\DWATdescription{} \\*
845 &\livelink{chap:DECL}{DECL} \\*
846 &\DWATaccessibility{} \\*
847 &\DWATalignment{} \\*
848 &\DWATartificial{} \\*
849 &\DWATconstexpr{} \\*
850 &\DWATconstvalue{} \\*
851 &\DWATdeclaration{} \\*
852 %\DWATdescription{} \\*
853 &\DWATendianity{} \\*
855 &\DWATlinkagename{} \\*
859 &\DWATspecification{} \\*
860 &\DWATstartscope{} \\*
862 &\DWATvisibility{} \\
866 &\livelink{chap:DECL}{DECL} \\*
867 &\DWATaccessibility{} \\*
868 &\DWATdeclaration{} \\*
869 &\DWATdiscrlist{} \\*
870 &\DWATdiscrvalue{} \\
874 &\livelink{chap:DECL}{DECL} \\*
875 &\DWATaccessibility{} \\*
876 &\DWATdeclaration{} \\*
882 &\livelink{chap:DECL}{DECL} \\*
888 &\livelink{chap:DECL}{DECL} \\*
889 &\DWATaccessibility{} \\*
890 &\DWATaddressclass{} \\*
891 &\DWATdeclaration{} \\*
899 &\DWATvisibility{} \\