Go to file
Raphael Isemann 22f5b9f124 Fixed redefinition warnings with LLVM_ENABLE_MODULES
Summary:
It seems we both have the HAVE_LIBCOMPRESSION define in the config header
and in the source files definitions of some files. This causes that the
Config.h header emits the following warning when we compile the Host module:

```
In file included from <module-includes>:21:
In file included from /Users/teemperor/llvm/llvm/tools/lldb/include/lldb/Host/MainLoop.h:13:
tools/lldb/include/lldb/Host/Config.h:33:9: warning: 'HAVE_LIBCOMPRESSION' macro redefined [-Wmacro-redefined]
        ^
<command line>:1:9: note: previous definition is here
        ^
```

It's not really clear why the define is in both places (the commit message
just says it fixes some unspecified bug), but we can easily work around this
by just guarding our define in Config.h.

Reviewers: aprantl

Reviewed By: aprantl

Subscribers: mgorny, lldb-commits

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

llvm-svn: 336377
2018-07-05 17:12:11 +00:00
clang Fix __builtin_*_overflow when out-param isn't constexpr 2018-07-05 15:52:58 +00:00
clang-tools-extra [clang-move] ClangMoveTests: Remove dots in output paths 2018-07-05 14:53:17 +00:00
compiler-rt Make __gcov_flush flush counters for all shared libraries 2018-07-05 15:52:59 +00:00
debuginfo-tests [debuginfo-tests] Always use the system python to invoke llgdb.py. 2018-06-10 19:38:26 +00:00
libclc atom: Use volatile pointers for cl_khr_{global,local}_int32_{base,extended}_atomics 2018-06-21 19:27:39 +00:00
libcxx [libc++] Replace uses of _LIBCPP_ALWAYS_INLINE by _LIBCPP_INLINE_VISIBILITY 2018-07-05 16:49:38 +00:00
libcxxabi [demangler] Avoid alignment warning 2018-07-05 06:24:29 +00:00
libunwind Introduce a separate preprocessor macro, _LIBUNWIND_USE_DLADDR, for directly controlling a dependency on dladdr(). This will allow us to use libunwind without adding a libdl dependency. 2018-06-29 20:41:50 +00:00
lld Simplify PPC64::calcEFlags(). 2018-07-05 16:58:42 +00:00
lldb Fixed redefinition warnings with LLVM_ENABLE_MODULES 2018-07-05 17:12:11 +00:00
llgo Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
llvm [X86] Add SHUF128 to target shuffle decoding. 2018-07-05 17:10:17 +00:00
openmp Dropped non-supoorted "--no-as-needed" flag from OMPT tests for macOS 2018-07-05 09:14:06 +00:00
parallel-libs Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
polly [ScopInfo] Move foldSizeConstantsToRight() to isl++ 2018-07-05 15:23:28 +00:00
README.md

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.