diff options
| author | Rui Ueyama <ruiu@google.com> | 2015-03-27 22:28:33 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2015-03-27 22:28:33 +0000 |
| commit | c4704448377feff793a47ba950d5e02fe2bcb0da (patch) | |
| tree | 7f643c2914e2138ece98bb394a2a5a7d0f888f0e | |
| parent | e555684115bef6fa709379485d4d8677a2272bf2 (diff) | |
| download | bcm5719-llvm-c4704448377feff793a47ba950d5e02fe2bcb0da.tar.gz bcm5719-llvm-c4704448377feff793a47ba950d5e02fe2bcb0da.zip | |
Fix comment style to follow more common style.
llvm-svn: 233437
| -rw-r--r-- | lld/include/lld/ReaderWriter/ELFLinkingContext.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/lld/include/lld/ReaderWriter/ELFLinkingContext.h b/lld/include/lld/ReaderWriter/ELFLinkingContext.h index 6edead468c5..cd54afc60ce 100644 --- a/lld/include/lld/ReaderWriter/ELFLinkingContext.h +++ b/lld/include/lld/ReaderWriter/ELFLinkingContext.h @@ -52,11 +52,14 @@ public: /// \brief The type of ELF executable that the linker /// creates. enum class OutputMagic : uint8_t { - DEFAULT, // The default mode, no specific magic set - NMAGIC, // Disallow shared libraries and don't align sections - // PageAlign Data, Mark Text Segment/Data segment RW - OMAGIC // Disallow shared libraries and don't align sections, - // Mark Text Segment/Data segment RW + // The default mode, no specific magic set + DEFAULT, + // Disallow shared libraries and don't align sections + // PageAlign Data, Mark Text Segment/Data segment RW + NMAGIC, + // Disallow shared libraries and don't align sections, + // Mark Text Segment/Data segment RW + OMAGIC, }; llvm::Triple getTriple() const { return _triple; } @@ -67,9 +70,11 @@ public: return *_maxPageSize; return 0x1000; } + virtual void setMaxPageSize(uint64_t pagesize) { _maxPageSize = pagesize; } + OutputMagic getOutputMagic() const { return _outputMagic; } uint16_t getOutputELFType() const { return _outputELFType; } uint16_t getOutputMachine() const; @@ -85,7 +90,6 @@ public: /// created for every undefined symbol that are present in the dynamic table /// in the shared library bool useShlibUndefines() const { return _useShlibUndefines; } - /// @} /// \brief Does this relocation belong in the dynamic relocation table? /// |

