[LTO] Add a FIXME, we shouldn't expose getComdat().

Thanks to Peter for the suggestion.

llvm-svn: 282655
This commit is contained in:
Davide Italiano 2016-09-29 00:31:45 +00:00
parent d9d689ead1
commit 0aff59f32d
1 changed files with 3 additions and 0 deletions

View File

@ -175,6 +175,8 @@ public:
// FIXME: Expose a thread-local flag for module asm symbols.
return GV && GV->isThreadLocal();
}
//FIXME: We shouldn't expose this information.
Expected<const Comdat *> getComdat() const {
if (!GV)
return nullptr;
@ -191,6 +193,7 @@ public:
return GO->getComdat();
return nullptr;
}
uint64_t getCommonSize() const {
assert(Flags & object::BasicSymbolRef::SF_Common);
if (!GV)