diff options
author | Sean Callanan <scallanan@apple.com> | 2016-02-12 23:55:13 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2016-02-12 23:55:13 +0000 |
commit | f45270342c387fa772e448e0b75c1c23d10d1584 (patch) | |
tree | a41692033b07295529613e6389c12efc862abb39 /lldb/source/Expression/IRDynamicChecks.cpp | |
parent | 7217d27ee63d1b9451550ed2b6d047efe1a92244 (diff) | |
download | bcm5719-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