diff options
| author | Pavel Labath <labath@google.com> | 2015-06-26 10:14:12 +0000 |
|---|---|---|
| committer | Pavel Labath <labath@google.com> | 2015-06-26 10:14:12 +0000 |
| commit | c7512fdc1e35109122853aa2d0d51e267bb71ee6 (patch) | |
| tree | 582375e739db3a128c0e0fbedd9a1c7f27ac36ab /llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp | |
| parent | 63a74ad8586c8164e825342397b364d87bc4b750 (diff) | |
| download | bcm5719-llvm-c7512fdc1e35109122853aa2d0d51e267bb71ee6.tar.gz bcm5719-llvm-c7512fdc1e35109122853aa2d0d51e267bb71ee6.zip | |
[NativeProcessLinux] Use lambdas in DoOperation calls
Summary:
This removes a lot of boilerplate, which was needed to execute monitor operations. Previously one
needed do declare a separate class for each operation which would manually capture all needed
arguments, which was very verbose. In addition to less code, I believe this also makes the code
more readable, since now the implementation of the operation can be physically closer to the code
that invokes it.
Test Plan: Code compiles on x86, arm and mips, tests pass on x86 linux.
Reviewers: tberghammer, chaoren
Subscribers: aemerson, lldb-commits
Differential Revision: http://reviews.llvm.org/D10694
llvm-svn: 240772
Diffstat (limited to 'llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp')
0 files changed, 0 insertions, 0 deletions

