This website requires JavaScript.
Explore
Help
Register
Sign In
caio
/
clang-p2996
Watch
1
Star
0
Fork
0
You've already forked clang-p2996
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
edfaae39562a9daa53cdb1e43efa764e00bd87df
clang-p2996
/
lldb
/
source
/
Core
/
Module.cpp
Greg Clayton
edfaae3956
Fixed a logic error in Module::ResolveSymbolContextForAddress(). Asking an address if its offet is greater than zero doesn't actually correctly tell us wether the address is section offset or not. A symbol could be the first symbol in a section and its offset can be zero. Also, a non-section offset lldb_private::Address can have a NULL section and calling GetOffset() will return the absolute address. To really test if an address is section offset clients should use Address::IsSectionOffset(). Also simplified the code that backs the address up by one to use the Address::Slide() function.
...
llvm-svn: 190955
2013-09-18 20:03:31 +00:00
56 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink