Go to file
Sam McCall 1b475a1ad0 [clangd] Modify the Span API so that Spans propagate with contexts.
Summary:
This is probably the right behavior for distributed tracers, and makes unpaired
begin-end events impossible without requiring Spans to be bound to a thread.

The API is conceptually clean but syntactically awkward. As discussed offline,
this is basically a naming problem and will go away if (when) we use TLS to
store the current context.

The apparently-unrelated change to onScopeExit are because its move semantics
broken if Func is POD-like since r322838. This is true of function pointers,
and the lambda I use here that captures two pointers only.
I've raised this issue on llvm-dev and will revert this part if we fix it in
some other way.

Reviewers: ilya-biryukov

Subscribers: klimek, jkorous-apple, ioeric, cfe-commits

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

llvm-svn: 323511
2018-01-26 09:00:30 +00:00
clang [NFC] fix trivial typos in comments and documents 2018-01-26 08:15:52 +00:00
clang-tools-extra [clangd] Modify the Span API so that Spans propagate with contexts. 2018-01-26 09:00:30 +00:00
compiler-rt [NFC] fix trivial typos in comments and documents 2018-01-26 08:16:08 +00:00
debuginfo-tests [debuginfo-tests] Support moving debuginfo-tests to llvm/projects 2017-12-12 16:54:20 +00:00
libclc tanpi: Port from amd_builtins 2018-01-19 18:57:22 +00:00
libcxx Reland: [cmake] [libcxx] Call llvm_setup_rpath() when adding shared libraries. 2018-01-26 01:34:51 +00:00
libcxxabi Reland: 2018-01-26 03:41:58 +00:00
libunwind Don't enable _LIBUNWIND_BUILD_ZERO_COST_APIS if building the SJLJ APIs 2018-01-26 06:50:07 +00:00
lld Rename a test file. 2018-01-26 01:01:21 +00:00
lldb [test] Fix a test that never compiled under -fmodules 2018-01-25 21:20:29 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [NFC] fix trivial typos in comments and documents 2018-01-26 08:15:29 +00:00
openmp Fix name of 'macOS' and add asteriks to brands, NFC. 2018-01-23 07:54:10 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [ScopBuilder] Prefer PHI Write accesses in the statement the incoming value is defined. 2018-01-23 23:56:36 +00:00
README.md Add an svn project to contain the files that appear at the root of the 2017-10-19 21:09:49 +00:00

README.md

Low Level Virtual Machine (LLVM)

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