[llvm] r267329 - Add "hasSection" flag in the Summary

Ed Maste via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 24 05:00:06 PDT 2016


On 24 April 2016 at 05:31, Mehdi Amini via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Author: mehdi_amini
> Date: Sun Apr 24 00:31:43 2016
> New Revision: 267329
>
> URL: http://llvm.org/viewvc/llvm-project?rev=267329&view=rev
> Log:
> Add "hasSection" flag in the Summary

Build fails on FreeBSD 10 (Clang 3.4.1) after this commit,

../lib/Bitcode/Writer/BitcodeWriter.cpp:798:30: error: use of
overloaded operator '|' is ambiguous (with operand types 'uint64_t'
(aka 'unsigned long') and 'GlobalValue::LinkageTypes')
  RawFlags = (RawFlags << 4) | Flags.Linkage; // 4 bits
             ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~


More information about the llvm-commits mailing list