diff options
author | Garrison Venn <gvenn.cfe.dev@gmail.com> | 2011-04-12 12:30:10 +0000 |
---|---|---|
committer | Garrison Venn <gvenn.cfe.dev@gmail.com> | 2011-04-12 12:30:10 +0000 |
commit | a0f6ecb01f6320b73e2a285066320d2f6ea6d69d (patch) | |
tree | bc76d0be94d6ef73fe36b8a60a146a90a0b7041b /llvm/examples | |
parent | 0f538460d225475fcd82433c5b2033fdff953464 (diff) | |
download | bcm5719-llvm-a0f6ecb01f6320b73e2a285066320d2f6ea6d69d.tar.gz bcm5719-llvm-a0f6ecb01f6320b73e2a285066320d2f6ea6d69d.zip |
Added new FIXME note
llvm-svn: 129360
Diffstat (limited to 'llvm/examples')
-rw-r--r-- | llvm/examples/ExceptionDemo/ExceptionDemo.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/examples/ExceptionDemo/ExceptionDemo.cpp b/llvm/examples/ExceptionDemo/ExceptionDemo.cpp index fcc8b5c790d..5fa10ed6d35 100644 --- a/llvm/examples/ExceptionDemo/ExceptionDemo.cpp +++ b/llvm/examples/ExceptionDemo/ExceptionDemo.cpp @@ -62,7 +62,16 @@ #include "llvm/Support/IRBuilder.h" #include "llvm/Support/Dwarf.h" +// FIXME: Although all systems tested with (Linux, OS X), do not need this +// header file included. A user on ubuntu reported, undefined symbols +// for stderr, and fprintf, and the addition of this include fixed the +// issue for them. Given that LLVM's best practices include the goal +// of reducing the number of redundant header files included, the +// correct solution would be to find out why these symbols are not +// defined for the system in question, and fix the issue by finding out +// which LLVM header file, if any, would include these symbols. #include <cstdio> + #include <sstream> #include <stdexcept> |