[PATCH] D59934: Compare SourceLocations from different TUs by FileID

Endre Fülöp via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 30 15:45:39 PDT 2019


gamesh411 added a comment.

Just have a bit more context, I have the following information from a debug session at the execution point of the unreachable:

  (rr) p LHS.dump(*this)
  ...................../tmux-2.8/compat/tree.h:721:9
  
  (rr) p RHS.dump(*this)
  ...................../tmux-2.8/arguments.c:56:10
  
  (rr) p LOffs.first
  {ID = 1}
  (rr) p ROffs.first
  {ID = 2826}
  
  (rr) p LB
  {static npos = 18446744073709551615, Data = 0xe4f378 "...................../tmux-2.8/cmd-capture-pane.c", Length = 49}
  (rr) p RB
  {static npos = 18446744073709551615, Data = 0x5ff7a78 "...................../tmux-2.8/arguments.c", Length = 42}


Repository:
  rC Clang

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

https://reviews.llvm.org/D59934





More information about the cfe-commits mailing list