Go to file
Pavel Labath 2841e6edc8 [DWARF] Centralize user_id <-> DWARFDIE conversions
Summary:
The logic for translating a user_id into a DWARFDIE was replicated in
several places. This removes that redundancy and settles on a single
implementation in SymbolFileDWARF.

The reason for choosing that instead of DIERef was that we were
always immediately converting the returned DIERef into a DWARFDIE
anyway, which meant that one had to specify the SymbolFileDWARF argument
twice (once to get the DIERef, and once to get the actual DIE). Also,
passing a higher-level object (SymbolFileDWARF) into a lower-level one
(DIERef) seemed like a less intuitive arrangement than doing things the
other way around.

Reviewers: JDevlieghere, clayborg, aprantl

Subscribers: tberghammer, jankratochvil, lldb-commits

Differential Revision: https://reviews.llvm.org/D61648

llvm-svn: 360246
2019-05-08 11:43:05 +00:00
clang Fix for the greendragon bots. 2019-05-08 05:59:25 +00:00
clang-tools-extra [clang-tidy] Do not show incorrect fix in modernize-make-unique 2019-05-08 08:52:18 +00:00
compiler-rt [libFuzzer] extend the test for data flow tracer and coverage; also hopefully fix it on the bot 2019-05-08 01:03:05 +00:00
debuginfo-tests
libclc travis: Add LLVM-8 build 2019-03-27 21:28:31 +00:00
libcxx Mark private function __sign as constexpr. 2019-05-07 16:07:24 +00:00
libcxxabi minor cmake formatting style fix 2019-05-07 13:14:14 +00:00
libunwind [gn] Support for building libunwind 2019-05-02 17:29:37 +00:00
lld [COFF] Store Chunk RVAs and section offsets as uint32_t 2019-05-07 20:30:41 +00:00
lldb [DWARF] Centralize user_id <-> DWARFDIE conversions 2019-05-08 11:43:05 +00:00
llgo IR: Support parsing numeric block ids, and emit them in textual output. 2019-03-22 18:27:13 +00:00
llvm [LegalizeDAG] Assert non-power-of-2 load/store op splits are in range. NFCI. 2019-05-08 11:22:10 +00:00
openmp Add non-SSE wrapper for __kmp_{load,store}_mxcsr 2019-05-06 17:58:03 +00:00
parallel-libs
polly [polly][SCEV] Expand SCEV matcher cases for new smin/umin ops 2019-05-08 10:36:04 +00:00
pstl [pstl] Make the default backend be the serial backend and always provide parallel policies 2019-04-24 20:12:36 +00:00
.arcconfig Update monorepo .arcconfig with new project callsign. 2019-01-31 14:34:59 +00:00
.clang-format Add .clang-tidy and .clang-format files to the toplevel of the 2019-01-29 16:43:16 +00:00
.clang-tidy Disable tidy checks with too many hits 2019-02-01 11:20:13 +00:00
.gitignore Add a reduced copy of the llvm .gitignore 2019-04-09 00:52:49 +00:00
README.md

README.md

The LLVM Compiler Infrastructure

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.