summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/APFloat.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-03-18 05:12:38 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-03-18 05:12:38 +0000
commitc78f65775abf72ae6786b416d60436ff7c989d0b (patch)
tree935840bb0d3f861760ed604d34cd6f5fb150a62e /llvm/lib/Support/APFloat.cpp
parent4977655c940aa9478edbd7781e8348965e8c73bf (diff)
downloadbcm5719-llvm-c78f65775abf72ae6786b416d60436ff7c989d0b.tar.gz
bcm5719-llvm-c78f65775abf72ae6786b416d60436ff7c989d0b.zip
Simplify the computation of undefined symbols. Instead of walking
functions and initializers, just report the declarations present in the module. The motivation is to open the way for using the lazy module parsing, which should speed up clients that just want a symbol list (nm, ar). This is slightly less precise, but since both -strip-dead-prototypes and -globaldce are part of the standard pipeline, this shouldn't change the result for clang/dragonegg produced binaries. Any decl in an IL file was also put there because a FE expected it to be necessary, so this should not be a problem for "-O0 -emit-llvm". As a sanity check, I have bootstrapped clang on linux and built firefox on both linux and darwin. A clang bootstrap on darwin with LTO fails with or without this patch because, ironically, the linker doesn't like the combination of dead_strip and LTO when building libLTO.so :-) llvm-svn: 127870
Diffstat (limited to 'llvm/lib/Support/APFloat.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud