Skip to content
Commit 84a041eb authored by Evan Cheng's avatar Evan Cheng
Browse files

ELF / PIC requires GOT be in the EBX register during calls via PLT GOT pointer.

Add implicit uses of EBX to calls to ensure liveintervalanalysis does not treat
the GOT in EBX move as dead upon definition.
This should fix PR1207.

llvm-svn: 34470
parent a673b600
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment