summaryrefslogtreecommitdiffstats
path: root/lib/Transforms/IPO/Internalize.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-04-16 04:23:52 +0000
committerBill Wendling <isanbard@gmail.com>2012-04-16 04:23:52 +0000
commitab3a9193b12059bebb380ec90fe9a373542bc920 (patch)
treeaeea81a573ce9bdf309c55cd901f470202fcf6be /lib/Transforms/IPO/Internalize.cpp
parent7e5c316b05d87a23abff03865d776bfb5634e7cd (diff)
downloadexternal_llvm-ab3a9193b12059bebb380ec90fe9a373542bc920.zip
external_llvm-ab3a9193b12059bebb380ec90fe9a373542bc920.tar.gz
external_llvm-ab3a9193b12059bebb380ec90fe9a373542bc920.tar.bz2
Add a Fixme.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154793 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/Internalize.cpp')
-rw-r--r--lib/Transforms/IPO/Internalize.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Transforms/IPO/Internalize.cpp b/lib/Transforms/IPO/Internalize.cpp
index cd29e7a..fb5869e 100644
--- a/lib/Transforms/IPO/Internalize.cpp
+++ b/lib/Transforms/IPO/Internalize.cpp
@@ -123,6 +123,8 @@ bool InternalizePass::runOnModule(Module &M) {
bool Changed = false;
// Never internalize functions which code-gen might insert.
+ // FIXME: We should probably add this (and the __stack_chk_guard) via some
+ // type of call-back in CodeGen.
ExternalNames.insert("__stack_chk_fail");
// Mark all functions not in the api as internal.