Displaying 1 50 of 206,898 commits (0.064s)

LLVM — lld/trunk/COFF DriverUtils.cpp

COFF: Do not warn on identical /merge options.
Delta File
+6 -3 lld/trunk/COFF/DriverUtils.cpp
+6 -3 1 file

LLVM — lld/trunk/COFF Writer.cpp DriverUtils.cpp, lld/trunk/test/COFF merge.test

COFF: Implement /merge option.

/merge:.foo=.bar makes the linker to merge section .foo with section .bar.

LLVM — llvm/trunk/lib/Transforms/Vectorize SLPVectorizer.cpp

use range-based for loops; NFCI

LLVM — llvm/trunk/lib/Target/X86 X86ISelLowering.cpp, llvm/trunk/test/CodeGen/X86 vec_int_to_fp.ll

[X86][SSE] Improved i8/i16 to f64 uint2fp vector conversions

Followup to D10433 and D10589 that fixes i8/i16 uint2fp vector conversions by zero 
extending to i32 and using the sint2fp path (unless the target does actually support 
uint2fp).

LLVM — llvm/trunk/lib/CodeGen MachineTraceMetrics.cpp

use valid bits to avoid unnecessary machine trace metric recomputations

Although this does cut the number of traces recomputed by ~10% for the
test case mentioned in http://reviews.llvm.org/D10460, it doesn't
make a dent in the overall performance. That example needs to be more
selective when invalidating traces.

LLVM — llvm/trunk/lib/MC MCAssembler.cpp

Fix spelling, NFC.
Delta File
+1 -1 llvm/trunk/lib/MC/MCAssembler.cpp
+1 -1 1 file

LLVM — lld/trunk/COFF SymbolTable.cpp Symbols.cpp, lld/trunk/test/COFF weak-external3.test weak-external2.test

COFF: Numerous fixes for interaction between LTO and weak externals.

We were previously hitting assertion failures in the writer in cases where
a regular object file defined a weak external symbol that was defined by
a bitcode file. Because /export and /entry name mangling were implemented
using weak externals, the same problem affected mangled symbol names in
bitcode files.

The underlying cause of the problem was that weak external symbols were
being resolved before doing LTO, so the symbol table may have contained stale
references to bitcode symbols. The fix here is to defer weak external symbol
resolution until after LTO.

Also implement support for weak external symbols in bitcode files
by modelling them as replaceable DefinedBitcode symbols.

Differential Revision: http://reviews.llvm.org/D10940

LLVM — lldb/trunk/source/Plugins/ObjectFile/ELF ObjectFileELF.cpp, lldb/trunk/tools/lldb-mi MICmdInterpreter.cpp MICmdCmdData.cpp

Use string::find(char) for single character strings.

Summary: Use string::find(char) for single character strings.

Reviewers: abidh, ki.stfu, clayborg

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D10943

LLVM — llvm/trunk/include/llvm-c lto.h, llvm/trunk/lib/LTO LTOModule.cpp

LTO: expose LTO_SYMBOL_ALIAS, which indicates that the symbol is an alias.

This is needed for COFF linkers to distinguish between weak external aliases
and regular symbols with LLVM weak linkage, which are represented as strong
symbols in COFF.

LLVM — lld/trunk/COFF InputFiles.cpp

Revert "COFF: Do not use VirtualSize section header field for directive sections."

This reverts commit r241386 because the issue is addressed in LLVM (r241387).
Delta File
+1 -2 lld/trunk/COFF/InputFiles.cpp
+1 -2 1 file

LLVM — llvm/trunk/lib/Object COFFObjectFile.cpp

Object/COFF: Do not rely on VirtualSize being 0 in object files.

LLVM — lld/trunk/COFF InputFiles.cpp

COFF: Do not use VirtualSize section header field for directive sections.

Looks like clang-cl sets a bogus value to the field, which makes
getSectionContents() to truncate section contents. This patch directly
uses SizeOfRawData field instead of VirtualSize to see if this can
make buildbot green.
Delta File
+2 -1 lld/trunk/COFF/InputFiles.cpp
+2 -1 1 file

LLVM — lld/trunk/COFF DriverUtils.cpp

Use map::insert instead of checking existence of a key and insert. NFC.
Delta File
+5 -4 lld/trunk/COFF/DriverUtils.cpp
+5 -4 1 file

LLVM — lld/trunk/COFF SymbolTable.cpp

COFF: Print directive section contents if /verbose.
Delta File
+5 -1 lld/trunk/COFF/SymbolTable.cpp
+5 -1 1 file

LLVM — llvm/trunk/lib/ExecutionEngine/RuntimeDyld RuntimeDyld.cpp RuntimeDyldChecker.cpp, llvm/trunk/test/ExecutionEngine/RuntimeDyld/X86 MachO_x86-64_PIC_relocations.s

[RuntimeDyld] Skip relocations for external symbols with 64-bit address ~0ULL.

Requested by Eugene Rozenfeld of the LLILC team, this feature allows JIT
clients to skip relocations for selected external symbols by returning ~0ULL
from their symbol resolver. If this value is returned for a given symbol,
RuntimeDyld will skip all relocations for that symbol. The client will be
responsible for applying the skipped relocations manually before the code
is executed.

LLVM — lld/trunk/COFF Writer.cpp, lld/trunk/test/COFF imports.test

COFF: Fix bug in garbage collector.

GC root may have non-regular defined symbols, such as DefinedImportThunk,
so this cast<> was a wrong assumption.

LLVM — llvm/trunk/lib/Target/X86 X86InstrControl.td, llvm/trunk/test/MC/X86 x86_errors.s

[X86] Add proper 64-bit mode checks to jrcxz and jcxz.

LLVM — llvm/trunk/lib/Target/AMDGPU AMDGPUISelLowering.cpp

AMDGPU: Fix indentation of switch

LLVM — lld/trunk/COFF DriverUtils.cpp Config.h, lld/trunk/test/COFF export.test

COFF: Don't print warning message for identical /export options.

LLVM — lld/trunk/test/elf wrap.test tls-tbss-size.test, lld/trunk/test/elf/AArch64 local-tls.test initial-exec-tls-0.test

[ELF] Fix ELF test cases. Do not provide content for bss sections.

LLVM — llvm/trunk/include/llvm/Object ELFYAML.h, llvm/trunk/lib/Object ELFYAML.cpp

[ELFYAML] Fix handling SHT_NOBITS sections by obj2yaml/yaml2obj tools

SHT_NOBITS sections do not have content in an object file. Now the yaml2obj
tool does not accept `Content` field for such sections, and the obj2yaml
tool does not attempt to read the section content from a file.

Restore r241350 and r241352.

LLVM — lld/trunk/COFF SymbolTable.cpp Symbols.h, lld/trunk/test/COFF weak-external.test

COFF: Fix the case where an object defines a weak external and its alias.

This worked before, but only by accident, and only with assertions disabled.
We ended up storing a DefinedRegular symbol in the WeakAlias field,
and never using it as an Undefined.

Differential Revision: http://reviews.llvm.org/D10934

LLVM — llvm/trunk/lib/ExecutionEngine/OProfileJIT OProfileJITEventListener.cpp

Use a continue to reduce indentation.

LLVM — llvm/trunk/lib/ExecutionEngine/IntelJITEvents IntelJITEventListener.cpp

Use a continue to reduce indentation.

LLVM — llvm/trunk/lib/ExecutionEngine/IntelJITEvents IntelJITEventListener.cpp

Context is allocated just a few lines above. Don't check if it is null.

LLVM — llvm/trunk/lib/ExecutionEngine/IntelJITEvents IntelJITEventListener.cpp, llvm/trunk/lib/ExecutionEngine/OProfileJIT OProfileJITEventListener.cpp

Fix build with -DLLVM_USE_INTEL_JITEVENTS=ON -DLLVM_USE_OPROFILE=ON.

Is anyone using those?

LLVM — lld/trunk/lib/ReaderWriter/ELF/AArch64 AArch64RelocationPass.cpp

[ELF/AArch64] Set correct loader name in linking context

This patch reimplements ELFLinkingContext::getDefaultInterpreter for aarch64
with correct loader name. It is required to exclude the loader from DT_NEEDED
in shared library creation.

LLVM — lld/trunk/lib/ReaderWriter/ELF/AArch64 AArch64LinkingContext.h

[ELF/AArch64] Set correct loader name in linking context

This patch reimplements ELFLinkingContext::getDefaultInterpreter for aarch64
with correct loader name.  It is required to exclude the loader from DT_NEEDED
in shared library creation.

LLVM — llvm/trunk/lib/Bitcode/Reader BitcodeReader.cpp, llvm/trunk/lib/IR AutoUpgrade.cpp

Remove always-true comparison, NFC.

Summary:
Looking at r241279, I noticed that UpgradedIntrinsics only gets written
to in the following code:

    if (UpgradeIntrinsicFunction(&F, NewFn))
      UpgradedIntrinsics[&F] = NewFn;

Looking through UpgradeIntrinsicFunction, we always return false OR
NewFn will be set to a different function from our source.

This patch pulls the F != NewFn into UpgradeIntrinsicFunction as an
assert, and removes the check from callers of UpgradeIntrinsicFunction.

Reviewers: rafael, chandlerc

Subscribers: llvm-commits-list

Differential Revision: http://reviews.llvm.org/D10915

LLVM — llvm/trunk/test/CodeGen/X86 vec_fp_to_int.ll vec_int_to_fp.ll

[X86] Added 32-bit builds to fp<->int tests.

Ensure that i686 x87/SSE/SSE2 targets all build.

LLVM — llvm/trunk/include/llvm/Object ELFObjectFile.h

Delete dead code. NFC.

LLVM — llvm/trunk/include/llvm/Object ELFObjectFile.h ObjectFile.h, llvm/trunk/lib/DebugInfo/DWARF DWARFContext.cpp

Return ErrorOr from getSymbolAddress.

It can fail trying to get the section on ELF and COFF. This makes sure the
error is handled.

LLVM — llvm/trunk/lib/Target/X86/MCTargetDesc X86MachORelocationInfo.cpp, llvm/trunk/tools/dsymutil MachODebugMapParser.cpp DebugMap.cpp

Replace a few more MachO only uses of getSymbolAddress.

LLVM — llvm/trunk/lib/Object MachOObjectFile.cpp, llvm/trunk/tools/llvm-objdump MachODump.cpp

Use getValue instead of getAddress in a few MachO only cases.

In MachO the value of the symbol is always the address, so we can use the
simpler function.

LLVM — cfe/trunk/docs ClangFormatStyleOptions.rst, cfe/trunk/include/clang/Format Format.h

clang-format: Add MacroBlock{Begin,End} options

The MacroBlockBegin and MacroBlockEnd options make matching macro identifiers
behave like '{' and '}', respectively, in terms of indentation.

Mozilla code, for example, uses several macros that begin and end a scope.
Previously, Clang-Format removed the indentation resulting in:

    MACRO_BEGIN(...)
    MACRO_ENTRY(...)
    MACRO_ENTRY(...)
    MACRO_END

Now, using the options

    MacroBlockBegin: "^[A-Z_]+_BEGIN$"
    MacroBlockEnd: "^[A-Z_]+_END$"

will yield the expected result:

    MACRO_BEGIN(...)
      MACRO_ENTRY(...)
      MACRO_ENTRY(...)
    MACRO_END

Differential Revision: http://reviews.llvm.org/D10840

LLVM — cfe/trunk/lib/Basic Targets.cpp

Revert "Refactored ARMTargetInfo in order to use the API of 
llvm/lib/Support/TargetParser.cpp

This reverts commit r241343, as it was, again, breaking all ARM buildbots.
Delta File
+117 -77 cfe/trunk/lib/Basic/Targets.cpp
+117 -77 1 file

LLVM — lldb/trunk/cmake/modules LLDBStandalone.cmake

Remove DOS line endings from LLDBStandalone.cmake

LLVM — lldb/trunk/tools/lldb-mi MIUtilString.cpp MICmdCmdData.cpp

[lldb-mi] Use size_t where appropriate.

Summary:
Many places should have been using size_t rather than MIuint or
MIint. This is particularly true for code that uses std::string::find(),
std::string::rfind(), std::string::size(), and related methods.

Reviewers: abidh, ki.stfu, domipheus

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D10931

LLVM — lldb/trunk/tools/lldb-mi MICmdArgValFile.cpp

[lldb-mi] Remove unnecessary const_cast.

Summary: Remove unnecessary const_cast.

Reviewers: abidh, ki.stfu

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D10928

LLVM — lldb/trunk/tools/lldb-mi MICmnLLDBDebugSessionInfoVarObj.cpp MICmnLLDBDebugSessionInfoVarObj.h

[lldb-mi] GetVarFormatForChar needn't pass a char by const ref.

Summary: GetVarFormatForChar needn't pass a char by const ref.

Reviewers: ki.stfu, abidh

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D10927

LLVM — lldb/trunk/tools/lldb-mi MICmdArgContext.cpp MICmdArgContext.h

[lldb-mi] Remove unnecessary members from MICmdArgContext.

Summary:
Remove unnecessary members from MICmdArgContext.

We don't need constants for these value stored in every instance
of the class.

Reviewers: ki.stfu, abidh

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D10926

LLVM — cfe/trunk/include/clang/AST StmtIterator.h, cfe/trunk/lib/AST StmtIterator.cpp

StmtIterator: Put stmt and decl group pointer into a union.

Reduce the size of StmtIterator without changing behavior.

LLVM — cfe/trunk/lib/Analysis LiveVariables.cpp, cfe/trunk/lib/StaticAnalyzer/Checkers CheckSecuritySyntaxOnly.cpp RetainCountChecker.cpp

Rewrite users of Stmt::child_begin/end into for-range loops.

No functionality change intended.

LLVM — llvm/trunk/include/llvm/Object ELFYAML.h, llvm/trunk/lib/Object ELFYAML.cpp

This reverts commit r241350 and r241352.

r241350 broke lld tests.
r241352 depends on r241350.

Original messages:
"[ELFYAML] Fix handling SHT_NOBITS sections by obj2yaml/yaml2obj tools"
"[ELFYAML] Make the Size field for .bss section optional"

LLVM — llvm/trunk/include/llvm/Object ELF.h

Delete dead code.
Delta File
+0 -13 llvm/trunk/include/llvm/Object/ELF.h
+0 -13 1 file

LLVM — llvm/trunk/lib/Object ELFYAML.cpp, llvm/trunk/test/Object obj2yaml.test

[ELFYAML] Make the Size field for .bss section optional

It's a common case to have a zero-size .bss section in an object file.

LLVM — lldb/trunk/tools/lldb-mi MICmdArgValString.cpp MICmdArgValString.h

[lldb-mi] Typo fixes

Summary: Some more typo fixes in LLDB-MI.

Reviewers: ki.stfu, abidh

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D10925

LLVM — llvm/trunk/include/llvm/Object ELFYAML.h, llvm/trunk/lib/Object ELFYAML.cpp

[ELFYAML] Fix handling SHT_NOBITS sections by obj2yaml/yaml2obj tools

SHT_NOBITS sections do not have content in an object file. Now yaml2obj
tool does not accept `Content` field for such sections, and obj2yaml
tool does not attempt to read the section content from a file.

LLVM — lldb/trunk/tools/lldb-mi MIUtilString.cpp MICmnLLDBDebugSessionInfo.cpp

Remove typedefs for MIchar, MIschar, MIuchar.

Summary:
This is a start on bringing lldb-mi more in line with the typical
LLDB coding style. This just removes the usage of the typedefs and
doesn't yet clean up any logic or other issues. (This is to keep
the review simple.)

Reviewers: abidh, ki.stfu, domipheus

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D10917

LLVM — llvm/trunk/include/llvm/Object ELFObjectFile.h

Avoid warning about unused variable when building without assertions.