aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2014-05-20 23:04:47 +0000
committerKevin Enderby <enderby@apple.com>2014-05-20 23:04:47 +0000
commit1b985af0ba97dcc51adfd384611a329c8d86954b (patch)
tree14851fe2df526902b15eccff7cc982fad6513608 /clang/lib/CodeGen/CodeGenModule.cpp
parent60354bd3cf839778c92ac66b66de5794aa0ebd33 (diff)
downloadllvm-1b985af0ba97dcc51adfd384611a329c8d86954b.zip
llvm-1b985af0ba97dcc51adfd384611a329c8d86954b.tar.gz
llvm-1b985af0ba97dcc51adfd384611a329c8d86954b.tar.bz2
Update MachOObjectFile::getSymbolAddress so it returns UnknownAddressOrSize
for undefined symbols, so it matches what COFFObjectFile::getSymbolAddress does. This allows llvm-nm to print spaces instead of 0’s for the value of undefined symbols in Mach-O files. To make this change other uses of MachOObjectFile::getSymbolAddress are updated to handle when the Value is returned as UnknownAddressOrSize. Which is needed to keep two of the ExecutionEngine tests working for example. llvm-svn: 209253
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions