mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 15:01:28 +12:00
Update LLVM (10)
This commit is contained in:
parent
d53d7bb598
commit
6e19881b82
6 changed files with 21 additions and 9 deletions
|
@ -603,12 +603,12 @@ struct EventListener : llvm::JITEventListener
|
|||
for (auto it = obj.section_begin(), end = obj.section_end(); it != end; ++it)
|
||||
{
|
||||
llvm::StringRef name;
|
||||
it->getName(name);
|
||||
name = it->getName().get();
|
||||
|
||||
if (name == ".pdata")
|
||||
{
|
||||
llvm::StringRef data;
|
||||
it->getContents(data);
|
||||
data = it->getContents().get();
|
||||
|
||||
std::vector<RUNTIME_FUNCTION> rfs(data.size() / sizeof(RUNTIME_FUNCTION));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue