summaryrefslogtreecommitdiffstats
path: root/lld/ELF/LinkerScript.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-04-22 21:02:27 +0000
committerRui Ueyama <ruiu@google.com>2016-04-22 21:02:27 +0000
commite29a975d23f80046a005f3251b571b7ec13d7487 (patch)
tree857c252247bc5fe6a6c982d302ba3aed76a74fff /lld/ELF/LinkerScript.cpp
parent3b748d76f60a6dc7266058f0130b4181903e0e34 (diff)
downloadbcm5719-llvm-e29a975d23f80046a005f3251b571b7ec13d7487.tar.gz
bcm5719-llvm-e29a975d23f80046a005f3251b571b7ec13d7487.zip
Update a comment for r267145.
llvm-svn: 267218
Diffstat (limited to 'lld/ELF/LinkerScript.cpp')
-rw-r--r--lld/ELF/LinkerScript.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp
index aae750768d1..d0b00626ba4 100644
--- a/lld/ELF/LinkerScript.cpp
+++ b/lld/ELF/LinkerScript.cpp
@@ -82,7 +82,8 @@ static bool expect(ArrayRef<StringRef> &Tokens, StringRef S) {
// This is a part of the operator-precedence parser to evaluate
// arithmetic expressions in SECTIONS command. This function evaluates an
-// integer literal, a parenthesized expression or the special variable ".".
+// integer literal, a parenthesized expression, the ALIGN function,
+// or the special variable ".".
template <class ELFT>
uint64_t LinkerScript<ELFT>::parsePrimary(ArrayRef<StringRef> &Tokens) {
StringRef Tok = next(Tokens);
OpenPOWER on IntegriCloud