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

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: cleanups 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
Index: src/IceGlobalContext.h
diff --git a/src/IceGlobalContext.h b/src/IceGlobalContext.h
index 04f08a2dbffa3191633fb39343b9e6e03f1ef1e0..3a7f755f3e4f57055f92ff27836a947adc10464b 100644
--- a/src/IceGlobalContext.h
+++ b/src/IceGlobalContext.h
@@ -175,6 +175,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.
@@ -182,6 +183,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; }

Powered by Google App Engine
This is Rietveld 408576698