[all-commits] [llvm/llvm-project] 67e733: [BOLT][NFC] Refactor relocation printing (#88180)
Nathan Sidwell via All-commits
all-commits at lists.llvm.org
Mon Apr 15 06:47:20 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 67e733d36ef0c5ec9fab899ecf9f191d83c7d418
https://github.com/llvm/llvm-project/commit/67e733d36ef0c5ec9fab899ecf9f191d83c7d418
Author: Nathan Sidwell <nathan at acm.org>
Date: 2024-04-15 (Mon, 15 Apr 2024)
Changed paths:
M bolt/lib/Core/Relocation.cpp
Log Message:
-----------
[BOLT][NFC] Refactor relocation printing (#88180)
Some refactoring.
* Make the arrays themselves const -- not just the strings being pointed to.
* Move each relocation array to the case using it.
* Add a suitable assert, to make sure there's no out-of-bounds indexing.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list