summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2015-10-22 03:50:28 +0000
committerJason Molenda <jmolenda@apple.com>2015-10-22 03:50:28 +0000
commit9c077cf33d5a42ee0763d18228d59561f82c8917 (patch)
tree01bd56788c39e76dba8485692a1506e98538e4df /clang/lib/Frontend/CompilerInvocation.cpp
parent75f96bcfc4e884853512eb196aabe95bcde95902 (diff)
downloadbcm5719-llvm-9c077cf33d5a42ee0763d18228d59561f82c8917.tar.gz
bcm5719-llvm-9c077cf33d5a42ee0763d18228d59561f82c8917.zip
Change ModuleList::GetSharedModule so that it will reject "stub
libraries" altogether. On Mac/iOS, these are libraries which have a UUID and nlist records but no text or data. If one of these gets into the global module list, every time we try to search for a given filename/arch/UUID, we'll get this stub library back. We need to prevent them from getting added to the module list altogether. I thought about doing this down in ObjectFileMachO -- just rejecting the file as a valid binary file altogether -- but Greg didn't want to take that hard line approach at this point, he wanted to keep the ability for lldb to read one of these if someone wanted to in the future. <rdar://problem/23035075> llvm-svn: 250979
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud