aboutsummaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
diff options
context:
space:
mode:
authorDerek Schuff <dschuff@chromium.org>2012-11-01 13:55:17 -0700
committerDerek Schuff <dschuff@chromium.org>2012-11-01 13:55:17 -0700
commita5c3afd0e68afcca5dfabaa0850d88735e9f9493 (patch)
treeb5861940aff76e5baa1d92582bc6b23ef4000ee5 /lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
parent2e73bd7315e3cc621b1a49062dbad2243b6c3db0 (diff)
Do not dematerialize functions with referencing blockAddress constants
When reduce-memory-footprint is enabled, llc attempts to dematerialize all functions once they are codegen'ed. However functions which have global blockAddress constants referring to their BBs need to be kept around, or the references will be replaced with bogus constants and not relocated. BUG=none TEST=computed_goto_test (easily reproducible by enabling -streaming-bitcde for ordinary llc) Review URL: https://codereview.chromium.org/11364028
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp')
0 files changed, 0 insertions, 0 deletions