[ELF] Fix typo that caused a test to fail on FreeBSD.

llvm-svn: 206538
This commit is contained in:
Rui Ueyama 2014-04-17 23:38:01 +00:00
parent 3e46e20746
commit 3511b02a85
2 changed files with 1 additions and 3 deletions

View File

@ -232,7 +232,7 @@ public:
return _absoluteSymbols;
}
const std::map<std::string, std::string> getAliases() const {
const std::map<std::string, std::string> &getAliases() const {
return _aliasSymbols;
}

View File

@ -1,5 +1,3 @@
XFAIL: freebsd
RUN: lld -flavor gnu -target x86_64 --defsym=main=fn --noinhibit-exec \
RUN: %p/Inputs/fn.o -o %t
RUN: llvm-readobj -symbols %t | FileCheck %s