projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9d689e
)
[LTO] Add a FIXME, we shouldn't expose getComdat().
author
Davide Italiano
<davide@freebsd.org>
Thu, 29 Sep 2016 00:31:45 +0000
(
00:31
+0000)
committer
Davide Italiano
<davide@freebsd.org>
Thu, 29 Sep 2016 00:31:45 +0000
(
00:31
+0000)
Thanks to Peter for the suggestion.
llvm-svn: 282655
llvm/include/llvm/LTO/LTO.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/LTO/LTO.h
b/llvm/include/llvm/LTO/LTO.h
index
8455021
..
e885c93
100644
(file)
--- a/
llvm/include/llvm/LTO/LTO.h
+++ b/
llvm/include/llvm/LTO/LTO.h
@@
-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)