diff options
| author | Bill Wendling <isanbard@gmail.com> | 2012-03-07 08:49:42 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2012-03-07 08:49:42 +0000 |
| commit | 7c5dcb6ccf88582031b93bc0c0e0c2de8a81cc96 (patch) | |
| tree | c4e4132b64a401541074ecb179724f333946283e /llvm/lib/CodeGen/StackProtector.cpp | |
| parent | c67fdd4eb95f1eed299af302e407bbdb916bdfaf (diff) | |
| download | bcm5719-llvm-7c5dcb6ccf88582031b93bc0c0e0c2de8a81cc96.tar.gz bcm5719-llvm-7c5dcb6ccf88582031b93bc0c0e0c2de8a81cc96.zip | |
Where the BranchFolding pass removes a branch then adds another better branch,
the DebugLoc information can be maintained throughout by grabbing the DebugLoc
before the RemoveBranch and then passing the result to the InsertBranch.
Patch by Andrew Stanford-Jason!
llvm-svn: 152212
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions

