summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-09-27release-request-a41f1f54-b764-45d4-b9ce-16ae3001be88-for-git_oc-mr1-release- ↵security-oc-mr1-releaseoreo-mr1-wear-releaseoreo-mr1-security-releaseoreo-mr1-s1-releaseoreo-mr1-releaseoreo-mr1-cuttlefish-testingoreo-mr1-cts-releaseoreo-m8-releaseoreo-m7-releaseoreo-m6-s4-releaseoreo-m6-s3-releaseoreo-m6-s2-releaseoreo-m4-s9-releaseoreo-m4-s8-releaseoreo-m4-s7-releaseoreo-m4-s6-releaseoreo-m4-s5-releaseoreo-m4-s4-releaseoreo-m4-s3-releaseoreo-m4-s2-releaseoreo-m4-s12-releaseoreo-m4-s11-releaseoreo-m4-s10-releaseoreo-m4-s1-releaseoreo-m2-s5-releaseoreo-m2-s4-releaseoreo-m2-s3-releaseoreo-m2-s2-releaseoreo-m2-s1-releaseoreo-m2-releaseandroid-build-team Robot
4362737 snap-temp-L87100000106492125 Change-Id: Id0d69bde1dbfe6d4629749c9858a7d403fddcb71
2017-09-26Show the number of VMAs in the tombstone.oreo-mr1-vts-releaseoreo-mr1-devoreo-mr1-cts-devElliott Hughes
Tombstones (especially ones with lots of VMAs) are regularly truncated. We can at least show the number of VMAs, though, for anyone interested in knowing whether they got close to the default 64Ki limit. Bug: http://b/66911122 Bug: 64709603 (presubmit balking at the line above) Test: ran crasher, examined tombstone (cherry picked from commit 868d39a82fb2d9830d253409a1c28f0ae1fcac33) Change-Id: I286db66f28f132307d573dbe5164efc969dc6ddc
2017-09-26release-request-787c7134-f106-4590-90f7-0fb685b91259-for-git_oc-mr1-release- ↵android-build-team Robot
4360035 snap-temp-L24200000106060350 Change-Id: Ic525bc0268b94acedde9e452909a5d63d255c374
2017-09-26release-request-787c7134-f106-4590-90f7-0fb685b91259-for-git_oc-mr1-release- ↵android-build-team Robot
4360035 snap-temp-L24200000106060350 (snap-temp-branch) Change-Id: I7f652fc0a4f982933d232f12003afa70672ad583
2017-08-03release-request-ca4ad653-1655-436a-b65c-2527b02ae5f2-for-git_oc-mr1-release- ↵android-build-team Robot
4241196 snap-temp-L48200000088705722 Change-Id: Ied3115a07d86a5b85101532f0d6517f7ae87579a
2017-07-31Mark the modules as VNDK-SP in Android.bpJustin Yun
As a VNDK-SP module, Android.bp must have 'vndk' tag as well as 'vendor_available: true'. The 'vndk' tag for VNDK-SP formated as follows: vndk: { enabled: true, support_system_process: true, }, VNDK-SP modules will be installed both in system/lib(64) as normal and in system/lib(64)/vndk-sp as a vendor variant. Bug: 63866913 Test: build and boot with BOARD_VNDK_VERSION=current Change-Id: I51fe0859f63ad58b7b91909e7d7d4206443228cd
2017-07-20release-request-d8901a87-7dd0-4cc8-a44e-d04982e429da-for-git_oc-mr1-release- ↵android-build-team Robot
4198291 snap-temp-L50900000084068812 Change-Id: I423627f145761a76e154a279dcbda6fd44475377
2017-07-20Merge "Cleanup the libbacktrace interface a bit."Christopher Ferris
am: ce8a4c0c2e Change-Id: Iba1db66328410d9f03660ddea89c2689dd938ebf
2017-07-20Merge "Speed up StepIfSignalHandler path."Christopher Ferris
am: c6dd6e8a79 Change-Id: Ie0d80840db92a7be958979785b75d3bf4077b030
2017-07-20Merge "Cleanup the libbacktrace interface a bit."Christopher Ferris
2017-07-19Cleanup the libbacktrace interface a bit.Christopher Ferris
- Change the field name load_base to load_bias (which is what it really is). - Add a rel_pc field so that callers do not need to compute it themselves. - Remove the BacktraceMap::GetRelativePc() since nobody should need to compute this themselves. Bug: 23762183 Test: Compiles and unit tests pass (debuggerd, libbacktrace). Change-Id: I2cb579767120adf08c407a58f3c487ee3f2b45fc
2017-07-19Speed up StepIfSignalHandler path.Christopher Ferris
The StepIfSignalHandler code reads from the process memory object, which is currently the slowest way to read memory. Change the code to read from the elf memory object which will almost always be a memory mapped file and should be really fast. Also, move the tests for StepIfSignalHandler to its own file. Bug: 23762183 Test: Unit tests pass. Change-Id: I1100b50554e5ef736a87babd484f3f34e9071caa
2017-07-19Merge "Add signal handling to the register object."Christopher Ferris
am: 33913ebfb5 Change-Id: Icfaa2cca55a5aef4b48f58026a64395a267a517b
2017-07-18Add signal handling to the register object.Christopher Ferris
- Add the StepIfSignalHandler function to the Regs object that checks if the code is in a signal handler. - Add tests for new code, also add a test that unwinds through a signal handler. - Slight modification to Elf to fail if a bad machine type is encountered. Add tests for this. Bug: 23762183 Test: Ran unit tests. Change-Id: Idafa1105d00b91a9343d7464ac9ed1cb95830963
2017-07-16release-request-05263112-375a-4b1f-a657-a14bb2a5c5a3-for-git_oc-mr1-release- ↵android-build-team Robot
4185249 snap-temp-L63000000082739046 Change-Id: Iead1041b60073b73195892868bdc43248fe87ece
2017-07-15Merge "Make the library usable as a library."Christopher Ferris
am: ca94f65ea0 Change-Id: Ic1986a1399a61b9ba3455d7ff4d2365cded86194
2017-07-14Make the library usable as a library.Christopher Ferris
- Add namespace unwindstack everywhere so that it's easier for other code to use the library. - Move some of the header files into include/unwindstack so that they can be exposed. - Modify the headers so that only a limited number need to be exposed. - Update the tools to use the new headers. - Add a GetLoadBias() call on the Elf object. This prevents the need to get the interface object out of the Elf object. - Move the GetRelPc() call out of the Reg class, to the Elf class. It's not always the case that a Reg object will be around when you want to get a relative pc. The tests for this moved to ElfTest.cpp. Bug: 23762183 Test: Unit tests pass. Change-Id: Iac609dac1dd90ed83d1a1e24ff2579c96c023bc3
2017-07-13Merge "Move tools to separate directory."Christopher Ferris
am: d312abe7c0 Change-Id: I824bf8bb7598383c9ffa4da8b9ffc1c7ded04268
2017-07-13Move tools to separate directory.Christopher Ferris
Bug: 23762183 Test: Ran unit tests, ran new tools. Change-Id: Icc7cbb4102a68042f4683d6dd622f21bc5e74deb
2017-07-13Merge "A few cleanups."Christopher Ferris
am: 0c22c5646e Change-Id: I557f9348d53d6c64efba4e25c7fa46970ca5e7a0
2017-07-12release-request-b6f2d5b3-a3d6-410f-b58f-c85ba8187177-for-git_oc-mr1-release- ↵android-build-team Robot
4173087 snap-temp-L93200000081515229 Change-Id: Ibda7d3598498700e369780af959bcd51c1cf3e7a
2017-07-11A few cleanups.Christopher Ferris
- Cleanup the blueprint file a bit. - Fix the formatting in DwarfMemoryTest.cpp. - Fix the misnamed test MemoryBuffer.cpp to MemoryBufferTest.cpp. - Add a function to find the location of the test files so it's not necessary to run the test in the same directory as the test files. Bug: 23762183 Test: Builds and unit tests pass. Change-Id: I5666972bd01f14b8ee47c518f1840f8aeb7fd08b
2017-07-11Merge "Fix mips build."Baligh Uddin
am: bbcd3eb369 Change-Id: I6e5693234966ce8307376796fc9ceb6d2396a9b6
2017-07-11Merge "Fix mips build."Baligh Uddin
2017-07-11Fix mips build.Christopher Ferris
Don't build for mips, none of this is supported on mips. Bug: 23762183 Test: Mips build passes. Change-Id: Iba89466a7bc13856f8fcd59ca0708a30f417b6c6
2017-07-11Merge "Add full support for initing registers."Christopher Ferris
am: 63988ba676 Change-Id: Ib9bb8b413ddc0ad411506a5343817f2af5177b1e
2017-07-11Merge "Add full support for initing registers."Christopher Ferris
2017-07-11Add full support for initing registers.Christopher Ferris
- Fixes a few bugs in untested functionality. - Add tests for the way the register handling code is used. - Fix a few tests that were not reaping child processes. Bug: 23762183 Test: Ran unit tests on host (32 bit and 64 bit). Test: Ran unit tests on angler (32 bit and 64 bit). Change-Id: I573d6617b4f1561f6e8494d7213c52086d112d97
2017-07-09release-request-fda658d8-eecf-4c78-a2e9-e5093ca10451-for-git_oc-mr1-release- ↵android-build-team Robot
4165363 snap-temp-L49300000080728237 Change-Id: I7ed67838251dd688a6246d83d849272e52cafb46
2017-07-07release-request-ccd04736-6e66-4825-a227-ecd69d8b5337-for-git_oc-mr1-release- ↵android-build-team Robot
4163697 snap-temp-L79500000080559163 Change-Id: I3660d5381afdcafa2375e7cc7e3a5fecbf8a5815
2017-07-07Merge "Add missing test files to compile."Christopher Ferris
am: 27ce28a874 Change-Id: Iaf2ebb9f3d39b2e99724b2bed0512b4f0bb3da3c
2017-07-07Merge "Add missing test files to compile."Christopher Ferris
2017-07-07Add missing test files to compile.Christopher Ferris
Bug: 23762183 Test: Ran unit tests. Change-Id: I8ac43517231d88c68c288800d8ed286daa57bce1
2017-07-07Merge "Init .gnu_debugdata in GetElf()."Christopher Ferris
am: dc219f5ca8 Change-Id: I485c6211dfef3b0468dcdd9cf8cc9347b2563231
2017-07-07Merge "Init .gnu_debugdata in GetElf()."Christopher Ferris
2017-07-06release-request-60f1fc0d-1c6d-400a-8b4e-444f1452f036-for-git_oc-mr1-release- ↵android-build-team Robot
4157261 snap-temp-L11100000079944679 Change-Id: I6dd4a5cdeb418709da97b335f03e29889ff5b9d0
2017-07-05Merge "Backtrace: Add libziparchive dependency"Andreas Gampe
am: 69542edfbe Change-Id: I4514fe90b92486b2730bc453b8f4badfc9466002
2017-07-04Backtrace: Add libziparchive dependencyAndreas Gampe
Bug: 37342627 Test: m Change-Id: I2b4155bd11b315ff49eb9a69549e1ab3678d0b28
2017-07-02release-request-d9dc98f7-19b2-484c-b4d1-f35dc43e9c05-for-git_oc-mr1-release- ↵android-build-team Robot
4152006 snap-temp-L91700000079405440 Change-Id: I20bf5de4b496860421086bb2047451e5087c7e84
2017-06-30Init .gnu_debugdata in GetElf().Christopher Ferris
- Modify the tests to share some code for the generation of the elf data. - Move the gnu_debugdata files into a separate directory. - Add tests for GetElf(). - Move the CreateMemory() tests and the GetElf() tests into separate files. Bug: 23762183 Test: New unit tests pass. Change-Id: Ie3380296bb49753c2ac8801cfa11f93d6ff7121d
2017-06-29Merge "Remove assert, use CHECK instead."Christopher Ferris
am: 5d6d932a60 Change-Id: I84ca9a5e4a77c44a336245286c1d40d7fd4de003
2017-06-29Remove assert, use CHECK instead.Christopher Ferris
- Use the CHECK macro everywhere that assert was used. - Remove the _debug version of the tests and leave the CHECK macro so it's always checking in the code. Bug: 23762183 Test: Ran unit tests. Change-Id: Ie705eedae393d0e95bb9d99f852687a11881aef1
2017-06-29release-request-fbba21d1-17b5-4752-9864-95770e5db190-for-git_oc-mr1-release- ↵android-build-team Robot
4144771 snap-temp-L10300000078657232 Change-Id: I7e67038448283f61d40bef688a41c34767d905de
2017-06-29Merge "Fix mac build."Christopher Ferris
am: 51b4f48280 Change-Id: Ibd1f92670c0238f094616125be0080c8d5c0a50b
2017-06-28Fix mac build.Christopher Ferris
Test: Built. Change-Id: I455381d29045dc6dddfb2b77dcde312722c06ebf
2017-06-29Merge "Add .gnu_debugdata support."Christopher Ferris
am: 9302daeb1d Change-Id: Idfa6a275050fdf638229e8417f6bb0008fe13dc8
2017-06-28Add .gnu_debugdata support.Christopher Ferris
Update the unwind_info tool to dump all of the sections. Bug: 23762183 Test: Passes new unit tests. Change-Id: I8b223bc208a1a2ef06ed333e6d96943c8f273681
2017-06-25release-request-7bfcab52-d1c0-4256-9d6b-5b5092bc78ca-for-git_oc-mr1-release- ↵android-build-team Robot
4133428 snap-temp-L95800000077479875 Change-Id: Ie188da50603fd5ed5f59236c5164bf49c18f76be
2017-06-23Merge "Add section parsing and function name handling." am: 62a17c6c4aChristopher Ferris
am: ee5c756d25 Change-Id: Iaf9dd25a0982916c6c2b06bf7ba618e1b2b452e1
2017-06-23Add section parsing and function name handling.Christopher Ferris
Add the code to parse the Elf section headers. Add the plumbing through of all the symbol handling code. Add tests for all of this new functionality. Bug: 23762183 Test: Pass new unit tests. Change-Id: Ie2d90cbb3d7653c53251dbcf34d9e5d241278377