clang-dep.gv 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. /* dependency graph generated with clang-8
  2. to print include paths:
  3. clang -E -v - </dev/null 2>inc.txt
  4. to generate graph (adjust the include path if needed
  5. clang -cc1 -dependency-dot out.gv -I/usr/local/include -I/usr/lib/llvm-8/lib/clang/8.0.1/include -I/usr/include/x86_64-linux-gnu -I/usr/include test.c
  6. */
  7. digraph "dependencies" {
  8. header_1 [ shape="box", label="usr/include/stdio.h"];
  9. header_0 [ shape="box", label="test.c"];
  10. header_2 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/libc-header-start.h"];
  11. header_3 [ shape="box", label="usr/include/features.h"];
  12. header_4 [ shape="box", label="usr/include/stdc-predef.h"];
  13. header_5 [ shape="box", label="usr/include/x86_64-linux-gnu/sys/cdefs.h"];
  14. header_6 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/wordsize.h"];
  15. header_7 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/long-double.h"];
  16. header_8 [ shape="box", label="usr/include/x86_64-linux-gnu/gnu/stubs.h"];
  17. header_9 [ shape="box", label="usr/include/x86_64-linux-gnu/gnu/stubs-64.h"];
  18. header_10 [ shape="box", label="usr/lib/llvm-8/lib/clang/8.0.1/include/stddef.h"];
  19. header_11 [ shape="box", label="usr/lib/llvm-8/lib/clang/8.0.1/include/stdarg.h"];
  20. header_12 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/types.h"];
  21. header_13 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/typesizes.h"];
  22. header_14 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/types/__fpos_t.h"];
  23. header_15 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h"];
  24. header_16 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/types/__fpos64_t.h"];
  25. header_17 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/types/__FILE.h"];
  26. header_18 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/types/FILE.h"];
  27. header_19 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/types/struct_FILE.h"];
  28. header_20 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/stdio_lim.h"];
  29. header_21 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/sys_errlist.h"];
  30. header_22 [ shape="box", label="usr/include/stdlib.h"];
  31. header_23 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/waitflags.h"];
  32. header_24 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/waitstatus.h"];
  33. header_25 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/floatn.h"];
  34. header_26 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/floatn-common.h"];
  35. header_27 [ shape="box", label="usr/include/x86_64-linux-gnu/sys/types.h"];
  36. header_28 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/types/clock_t.h"];
  37. header_29 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/types/clockid_t.h"];
  38. header_30 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/types/time_t.h"];
  39. header_31 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/types/timer_t.h"];
  40. header_32 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/stdint-intn.h"];
  41. header_33 [ shape="box", label="usr/include/endian.h"];
  42. header_34 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/endian.h"];
  43. header_35 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/byteswap.h"];
  44. header_36 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/uintn-identity.h"];
  45. header_37 [ shape="box", label="usr/include/x86_64-linux-gnu/sys/select.h"];
  46. header_38 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/select.h"];
  47. header_39 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/types/sigset_t.h"];
  48. header_40 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/types/__sigset_t.h"];
  49. header_41 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/types/struct_timeval.h"];
  50. header_42 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h"];
  51. header_43 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/pthreadtypes.h"];
  52. header_44 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/thread-shared-types.h"];
  53. header_45 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h"];
  54. header_46 [ shape="box", label="usr/include/alloca.h"];
  55. header_47 [ shape="box", label="usr/include/x86_64-linux-gnu/bits/stdlib-float.h"];
  56. header_3 -> header_4;
  57. header_3 -> header_5;
  58. header_3 -> header_8;
  59. header_5 -> header_6;
  60. header_5 -> header_7;
  61. header_32 -> header_12;
  62. header_41 -> header_12;
  63. header_8 -> header_9;
  64. header_46 -> header_3;
  65. header_46 -> header_10;
  66. header_43 -> header_44;
  67. header_33 -> header_3;
  68. header_33 -> header_34;
  69. header_33 -> header_35;
  70. header_33 -> header_36;
  71. header_45 -> header_6;
  72. header_27 -> header_3;
  73. header_27 -> header_12;
  74. header_27 -> header_28;
  75. header_27 -> header_29;
  76. header_27 -> header_30;
  77. header_27 -> header_31;
  78. header_27 -> header_10;
  79. header_27 -> header_32;
  80. header_27 -> header_33;
  81. header_27 -> header_37;
  82. header_27 -> header_43;
  83. header_26 -> header_3;
  84. header_26 -> header_7;
  85. header_16 -> header_12;
  86. header_16 -> header_15;
  87. header_12 -> header_3;
  88. header_12 -> header_6;
  89. header_12 -> header_13;
  90. header_39 -> header_40;
  91. header_14 -> header_12;
  92. header_14 -> header_15;
  93. header_28 -> header_12;
  94. header_38 -> header_6;
  95. header_30 -> header_12;
  96. header_44 -> header_45;
  97. header_36 -> header_12;
  98. header_37 -> header_3;
  99. header_37 -> header_12;
  100. header_37 -> header_38;
  101. header_37 -> header_39;
  102. header_37 -> header_30;
  103. header_37 -> header_41;
  104. header_37 -> header_42;
  105. header_2 -> header_3;
  106. header_2 -> header_3;
  107. header_25 -> header_3;
  108. header_25 -> header_26;
  109. header_35 -> header_3;
  110. header_35 -> header_12;
  111. header_42 -> header_12;
  112. header_1 -> header_2;
  113. header_1 -> header_10;
  114. header_1 -> header_11;
  115. header_1 -> header_12;
  116. header_1 -> header_14;
  117. header_1 -> header_16;
  118. header_1 -> header_17;
  119. header_1 -> header_18;
  120. header_1 -> header_19;
  121. header_1 -> header_20;
  122. header_1 -> header_21;
  123. header_19 -> header_12;
  124. header_0 -> header_1;
  125. header_0 -> header_22;
  126. header_31 -> header_12;
  127. header_29 -> header_12;
  128. header_22 -> header_2;
  129. header_22 -> header_10;
  130. header_22 -> header_23;
  131. header_22 -> header_24;
  132. header_22 -> header_25;
  133. header_22 -> header_27;
  134. header_22 -> header_46;
  135. header_22 -> header_47;
  136. }