aboutsummaryrefslogtreecommitdiff
path: root/stable_hash.cc
diff options
context:
space:
mode:
authorSid Nayyar <sidnayyar@google.com>2023-03-28 13:28:06 +0100
committerGiuliano Procida <gprocida@google.com>2023-03-29 20:29:25 +0100
commit96c0b116c6c266de45a59d4ebe87149b6ff94a9d (patch)
tree4dd2416b4ec1836ce0a03ddf7980beb760f875c0 /stable_hash.cc
parenta620c88765d4aefc748871690ea7873a1dbdfb8e (diff)
downloadstg-96c0b116c6c266de45a59d4ebe87149b6ff94a9d.tar.gz
type_roots: Rename STG internal `Symbols` node to `Interface`
The root node of STG, currently called `Symbols`, will be extended to be able to hold types as roots. This calls for renaming `Symbols` to `Interface`. This change does not break compatibility with any previously exported STG format files. PiperOrigin-RevId: 519998916 Change-Id: I58f783b0c9be1034303a895a654cc08b13013116
Diffstat (limited to 'stable_hash.cc')
-rw-r--r--stable_hash.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/stable_hash.cc b/stable_hash.cc
index 1fdc31a..eed5321 100644
--- a/stable_hash.cc
+++ b/stable_hash.cc
@@ -157,8 +157,8 @@ HashValue StableHash::operator()(const ElfSymbol& x) {
return hash;
}
-HashValue StableHash::operator()(const Symbols&) {
- return hash_("symtab");
+HashValue StableHash::operator()(const Interface&) {
+ return hash_("interface");
}
} // namespace stg