mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 01:51:39 +08:00
783130425b
- [x] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [x] SHA512s are updated for each updated download. - [x] The "supports" clause reflects platforms that may be fixed by this new version. - [x] Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file. - [x] Any patches that are no longer applied are deleted from the port's directory. - [x] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [x] Only one version is added to each modified port's versions file. --------- Co-authored-by: MonicaLiu <liuyumei01@beyondsoft.com>
14 lines
764 B
Diff
14 lines
764 B
Diff
diff --git a/src/assert.cpp b/src/assert.cpp
|
|
index 8d4bd24..bd4bc58 100644
|
|
--- a/src/assert.cpp
|
|
+++ b/src/assert.cpp
|
|
@@ -1655,7 +1655,7 @@ namespace libassert::detail {
|
|
const size_t max_frame_width = n_digits(end - start);
|
|
// do the actual trace
|
|
for(size_t i = start; i <= end; i++) {
|
|
- const auto& [address, line, col, source_path, signature, is_inline] = trace.frames[i];
|
|
+ const auto& [raw_address, obj_address, line, col, source_path, signature, is_inline] = trace.frames[i];
|
|
const std::string line_number = line.has_value() ? std::to_string(line.value()) : "?";
|
|
// look for repeats, i.e. recursion we can fold
|
|
size_t recursion_folded = 0;
|