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

Unified Diff: src/IceGlobalContext.h

Issue 1651163002: Subzero. Enables moar complex relocation offsets. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fixes Absolute Relocation Type for x86-64. Created 4 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 01724fb37dde02d908c9e512bba69653de868335..9dc59a3b4dc639683ded6172a458e2764b7966fc 100644
--- a/src/IceGlobalContext.h
+++ b/src/IceGlobalContext.h
@@ -39,6 +39,7 @@ class ClFlags;
class ConstantPool;
class EmitterWorkItem;
class FuncSigType;
+class RelocOffset;
/// LockedPtr is a way to provide automatically locked access to some object.
template <typename T> class LockedPtr {
@@ -200,6 +201,8 @@ public:
Constant *getConstantFloat(float Value);
Constant *getConstantDouble(double Value);
/// Returns a symbolic constant.
+ Constant *getConstantSym(std::vector<RelocOffset *> Offset,
Jim Stichnoth 2016/02/02 17:13:44 My radar goes off when I see the lack of const ref
John 2016/02/02 19:36:39 Acknowledged.
+ const IceString &Name, bool SuppressMangling);
Constant *getConstantSym(RelocOffsetT Offset, const IceString &Name,
bool SuppressMangling);
Constant *getConstantExternSym(const IceString &Name);
« no previous file with comments | « src/IceELFObjectWriter.cpp ('k') | src/IceGlobalContext.cpp » ('j') | src/IceGlobalContext.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698