summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/IRDynamicChecks.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2016-02-12 23:55:13 +0000
committerSean Callanan <scallanan@apple.com>2016-02-12 23:55:13 +0000
commitf45270342c387fa772e448e0b75c1c23d10d1584 (patch)
treea41692033b07295529613e6389c12efc862abb39 /lldb/source/Expression/IRDynamicChecks.cpp
parent7217d27ee63d1b9451550ed2b6d047efe1a92244 (diff)
downloadbcm5719-llvm-f45270342c387fa772e448e0b75c1c23d10d1584.tar.gz
bcm5719-llvm-f45270342c387fa772e448e0b75c1c23d10d1584.zip
Fix stripping of _ when looking for symbols in IRExecutionUnit.
Previously we would try both versions of a symbol -- the one with _ in it and the one without -- in all cases, because we didn't know what the current platform's policy was. However, stripping _ is only necessary on platforms where _ is the prefix for global symbols. There's an API that does this, though, on llvm::DataLayout, so this patch fixes IRExecutionUnit to use that API to determine whether or not to strip _ from the symbol or not. llvm-svn: 260767
Diffstat (limited to 'lldb/source/Expression/IRDynamicChecks.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud