This allows us efficiently look for more than one attribute, something that is quite common in DWARF consumption.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Fine to commit after addressing in-line comments.
include/llvm/DebugInfo/DWARF/DWARFDie.h | ||
---|---|---|
141 ↗ | (On Diff #84388) | The idiomatic way is to pass an ArrayRef by value. The const is usually omitted, since we also have a MutableArrayRef. |
161 ↗ | (On Diff #84388) | same here. |
lib/DebugInfo/DWARF/DWARFDie.cpp | ||
203 ↗ | (On Diff #84388) | Very nice! |
llvm/trunk/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp | ||
---|---|---|
1530 | ArrayRef's constructor receives the initializer as temporary object. Fixed in r292127. |
ArrayRef's constructor receives the initializer as temporary object. Fixed in r292127.