| OLD | NEW |
| 1 // Copyright (c) 2010 Google Inc. | 1 // Copyright (c) 2010 Google Inc. |
| 2 // All rights reserved. | 2 // All rights reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
| 6 // met: | 6 // met: |
| 7 // | 7 // |
| 8 // * Redistributions of source code must retain the above copyright | 8 // * Redistributions of source code must retain the above copyright |
| 9 // notice, this list of conditions and the following disclaimer. | 9 // notice, this list of conditions and the following disclaimer. |
| 10 // * Redistributions in binary form must reproduce the above | 10 // * Redistributions in binary form must reproduce the above |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 #include <algorithm> | 50 #include <algorithm> |
| 51 #include <fstream> | 51 #include <fstream> |
| 52 #include <iostream> | 52 #include <iostream> |
| 53 #include <limits> | 53 #include <limits> |
| 54 #include <map> | 54 #include <map> |
| 55 #include <vector> | 55 #include <vector> |
| 56 | 56 |
| 57 #include "processor/range_map-inl.h" | 57 #include "processor/range_map-inl.h" |
| 58 | 58 |
| 59 #include "common/scoped_ptr.h" | 59 #include "common/scoped_ptr.h" |
| 60 #include "common/stdio.h" | 60 #include "common/stdio_wrapper.h" |
| 61 #include "google_breakpad/processor/dump_context.h" | 61 #include "google_breakpad/processor/dump_context.h" |
| 62 #include "processor/basic_code_module.h" | 62 #include "processor/basic_code_module.h" |
| 63 #include "processor/basic_code_modules.h" | 63 #include "processor/basic_code_modules.h" |
| 64 #include "processor/logging.h" | 64 #include "processor/logging.h" |
| 65 | 65 |
| 66 namespace google_breakpad { | 66 namespace google_breakpad { |
| 67 | 67 |
| 68 | 68 |
| 69 using std::istream; | 69 using std::istream; |
| 70 using std::ifstream; | 70 using std::ifstream; |
| (...skipping 4787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4858 return NULL; | 4858 return NULL; |
| 4859 } | 4859 } |
| 4860 | 4860 |
| 4861 *stream = new_stream.release(); | 4861 *stream = new_stream.release(); |
| 4862 info->stream = *stream; | 4862 info->stream = *stream; |
| 4863 return *stream; | 4863 return *stream; |
| 4864 } | 4864 } |
| 4865 | 4865 |
| 4866 | 4866 |
| 4867 } // namespace google_breakpad | 4867 } // namespace google_breakpad |
| OLD | NEW |