[all-commits] [llvm/llvm-project] b68061: [dwarf][NFC] Move expandBundle() to MachO.h
Ellis Hoag via All-commits
all-commits at lists.llvm.org
Wed Dec 15 19:09:08 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b68061a3f7338f007199609d2cf65eb0244c1afe
https://github.com/llvm/llvm-project/commit/b68061a3f7338f007199609d2cf65eb0244c1afe
Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
Date: 2021-12-15 (Wed, 15 Dec 2021)
Changed paths:
M llvm/include/llvm/Object/MachO.h
M llvm/lib/Object/MachOObjectFile.cpp
M llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
M llvm/tools/llvm-gsymutil/llvm-gsymutil.cpp
Log Message:
-----------
[dwarf][NFC] Move expandBundle() to MachO.h
The function `expandBundle()` is defined both in `llvm-dwarfdump.cpp` and
`llvm-gsymutil.cpp` in the exact same way. Reduce code duplication by
moving this function to the `MachOObjectFile` class.
Reviewed By: jhenderson, clayborg
Differential Revision: https://reviews.llvm.org/D115418
More information about the All-commits
mailing list