PR21173: Improve type resolution.

* elaborate.cxx (const_folder::visit_binary): Replace the initial type
  resolution pass with setting types (and remembering the new types so
  that they will get resolved later).
  (setup_semantic_pass_types): New function.
  (semantic_pass_types_resolved): Ditto.
  (semantic_pass_types): Use a global type resolution info, so that we can
  remember const_folder::visit_binary type setting.
1 file changed
tree: 429de316d9458305cc9fb51e43251d582b789b8d
  1. doc/
  2. emacs/
  3. includes/
  4. initscript/
  5. java/
  6. m4/
  7. man/
  8. po/
  9. python/
  10. runtime/
  11. scripts/
  12. stapdyn/
  13. staprun/
  14. tapset/
  15. testsuite/
  16. vim/
  17. .gitignore
  18. .mailmap
  19. ABOUT-NLS
  20. aclocal.m4
  21. AUTHORS
  22. AUTHORS.sh
  23. buildrun.cxx
  24. buildrun.h
  25. cache.cxx
  26. cache.h
  27. cmdline.cxx
  28. cmdline.h
  29. compile
  30. config.guess
  31. config.in
  32. config.rpath
  33. config.sub
  34. configure
  35. configure.ac
  36. COPYING
  37. coveragedb.cxx
  38. coveragedb.h
  39. csclient.cxx
  40. csclient.h
  41. cscommon.cxx
  42. cscommon.h
  43. depcomp
  44. dtrace.in
  45. dwarf_wrappers.cxx
  46. dwarf_wrappers.h
  47. dwflpp.cxx
  48. dwflpp.h
  49. elaborate.cxx
  50. elaborate.h
  51. git_version.sh
  52. HACKING
  53. hash.cxx
  54. hash.h
  55. INSTALL
  56. install-sh
  57. interactive.cxx
  58. interactive.h
  59. INTERNALS
  60. loc2c-test.c
  61. loc2c.c
  62. loc2c.h
  63. main.cxx
  64. Makefile.am
  65. Makefile.in
  66. mdfour.c
  67. mdfour.h
  68. missing
  69. NEWS
  70. nsscommon.cxx
  71. nsscommon.h
  72. parse.cxx
  73. parse.h
  74. privilege.cxx
  75. privilege.h
  76. README
  77. README.security
  78. README.stapregex
  79. README.unprivileged
  80. remote.cxx
  81. remote.h
  82. rpm_finder.cxx
  83. rpm_finder.h
  84. run-stap.in
  85. runtest.sh
  86. sdt_types.h
  87. session.cxx
  88. session.h
  89. setupdwfl.cxx
  90. setupdwfl.h
  91. smileytap.svg
  92. stap-authorize-cert.cxx
  93. stap-env
  94. stap-gen-cert.cxx
  95. stap-prep
  96. stap-report
  97. stap-server
  98. stap-server.conf
  99. stap-server.service
  100. stap-serverd.cxx
  101. stap-sign-module.cxx
  102. stap-start-server
  103. stap-stop-server
  104. staplog.c
  105. stapregex-dfa.cxx
  106. stapregex-dfa.h
  107. stapregex-parse.cxx
  108. stapregex-parse.h
  109. stapregex-tree.cxx
  110. stapregex-tree.h
  111. stapregex.cxx
  112. stapregex.h
  113. stapsslerr.h
  114. staptree.cxx
  115. staptree.h
  116. stapvirt.c
  117. stringtable.cxx
  118. stringtable.h
  119. systemtap.spec
  120. tapset-been.cxx
  121. tapset-dynprobe.cxx
  122. tapset-dynprobe.h
  123. tapset-itrace.cxx
  124. tapset-mark.cxx
  125. tapset-method.cxx
  126. tapset-netfilter.cxx
  127. tapset-perfmon.cxx
  128. tapset-procfs.cxx
  129. tapset-python.cxx
  130. tapset-timers.cxx
  131. tapset-utrace.cxx
  132. tapsets.cxx
  133. tapsets.h
  134. task_finder.cxx
  135. task_finder.h
  136. translate.cxx
  137. translate.h
  138. translator-output.cxx
  139. translator-output.h
  140. util.cxx
  141. util.h
  142. version.h
  143. zanata.xml