summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2014-12-18 00:53:40 +0000
committerKevin Enderby <enderby@apple.com>2014-12-18 00:53:40 +0000
commitd0b6b7fb7f2ae52703aec0cd07a0d6b2ff5429ce (patch)
tree560bde978542a638df04d6c25bc2bc94c63f1ffb /llvm/lib/Object/MachOObjectFile.cpp
parentc8ee63e2d08700865b304d4d867573535a069fc6 (diff)
downloadbcm5719-llvm-d0b6b7fb7f2ae52703aec0cd07a0d6b2ff5429ce.tar.gz
bcm5719-llvm-d0b6b7fb7f2ae52703aec0cd07a0d6b2ff5429ce.zip
Add printing the LC_LINKER_OPTION load command with llvm-objdump’s -private-headers.
Also corrected the name of the load command to not end in an ’S’ as well as corrected the name of the MachO::linker_option_command struct and other places that had the word option as plural which did not match the Mac OS X headers. llvm-svn: 224485
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
-rw-r--r--llvm/lib/Object/MachOObjectFile.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Object/MachOObjectFile.cpp b/llvm/lib/Object/MachOObjectFile.cpp
index 0e96bc7ff72..5bc1110823c 100644
--- a/llvm/lib/Object/MachOObjectFile.cpp
+++ b/llvm/lib/Object/MachOObjectFile.cpp
@@ -2254,9 +2254,9 @@ MachOObjectFile::getSegment64LoadCommand(const LoadCommandInfo &L) const {
return getStruct<MachO::segment_command_64>(this, L.Ptr);
}
-MachO::linker_options_command
-MachOObjectFile::getLinkerOptionsLoadCommand(const LoadCommandInfo &L) const {
- return getStruct<MachO::linker_options_command>(this, L.Ptr);
+MachO::linker_option_command
+MachOObjectFile::getLinkerOptionLoadCommand(const LoadCommandInfo &L) const {
+ return getStruct<MachO::linker_option_command>(this, L.Ptr);
}
MachO::version_min_command
OpenPOWER on IntegriCloud