Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: src/IceGlobalContext.h

Issue 889613004: Track undefined sym in the symtab. Remove hack for missing relocs against undef. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: separate asserts Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/IceELFSection.cpp ('k') | src/IceGlobalContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceGlobalContext.h
diff --git a/src/IceGlobalContext.h b/src/IceGlobalContext.h
index 79c23d61c7e38e7d33eba5c6df6d0570de59dd3b..2bb8f62f5e41b6e724913955c54f24db29caf40e 100644
--- a/src/IceGlobalContext.h
+++ b/src/IceGlobalContext.h
@@ -188,6 +188,7 @@ public:
// Returns a symbolic constant.
Constant *getConstantSym(RelocOffsetT Offset, const IceString &Name,
bool SuppressMangling);
+ Constant *getConstantExternSym(const IceString &Name);
// Returns an undef.
Constant *getConstantUndef(Type Ty);
// Returns a zero value.
@@ -195,6 +196,8 @@ public:
// getConstantPool() returns a copy of the constant pool for
// constants of a given type.
ConstantList getConstantPool(Type Ty);
+ // Returns a copy of the list of external symbols.
+ ConstantList getConstantExternSyms();
const ClFlags &getFlags() const { return Flags; }
« no previous file with comments | « src/IceELFSection.cpp ('k') | src/IceGlobalContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698