forked from OSchip/llvm-project
[LTO] Add a FIXME, we shouldn't expose getComdat().
Thanks to Peter for the suggestion. llvm-svn: 282655
This commit is contained in:
parent
d9d689ead1
commit
0aff59f32d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue