[PATCH] D72757: [DebugInfo] Simplify the constructor of DWARFDebugAranges::Range. NFC.

Igor Kudrin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 15 22:09:49 PST 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rGafb22d7c33a2: [DebugInfo] Simplify the constructor of DWARFDebugAranges::Range. NFC. (authored by ikudrin).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72757/new/

https://reviews.llvm.org/D72757

Files:
  llvm/include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h


Index: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h
===================================================================
--- llvm/include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h
+++ llvm/include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h
@@ -32,8 +32,7 @@
   void construct();
 
   struct Range {
-    explicit Range(uint64_t LowPC = -1ULL, uint64_t HighPC = -1ULL,
-                   uint64_t CUOffset = -1ULL)
+    explicit Range(uint64_t LowPC, uint64_t HighPC, uint64_t CUOffset)
       : LowPC(LowPC), Length(HighPC - LowPC), CUOffset(CUOffset) {}
 
     void setHighPC(uint64_t HighPC) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72757.238418.patch
Type: text/x-patch
Size: 602 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200116/055aa29d/attachment.bin>


More information about the llvm-commits mailing list