- Mar 20, 2014
-
-
Alexey Samsonov authored
llvm-svn: 204319
-
Alexey Samsonov authored
llvm-svn: 204318
-
Rui Ueyama authored
This reverts commit r204291 because it broke buildbots. llvm-svn: 204317
-
Craig Topper authored
llvm-svn: 204316
-
Ted Kremenek authored
llvm-svn: 204315
-
David Majnemer authored
obj2yaml would emit the NUL bytes padding the auxiliary file symbol records. Trimming them looks nicer. llvm-svn: 204314
-
David Majnemer authored
No functionality change. llvm-svn: 204313
-
David Majnemer authored
We would emit a pair of double quotes inside a pair of single quotes. Just use a pair of single quotes. llvm-svn: 204312
-
Saleem Abdulrasool authored
A redefinition of append_if in CompilerRTUtils causes the append_if to fail. Manually append the values to the flags. Thanks to Kuba Ober for pointing this out! llvm-svn: 204311
-
Saleem Abdulrasool authored
This is a mechanical cleanup of unused functions. In the case where the functions are referenced (in comment form), I've simply commented out the functions. A second pass to clean that up is warranted. The functions which are otherwise unused have been removed. Some of these were introduced in the initial commit and not in use prior to that point! NFC llvm-svn: 204310
-
Saleem Abdulrasool authored
TestPromptFormats appears as though it may be a useful unit test. Unfortunately, there is no invocation mechanism in place right now. It is unclear how to add a unit test for this scenario to the existing tests. It would be ideal to remove this entirely, but I am hopeful that this can/will be pulled out into a test still since it uses a user accessible interface. llvm-svn: 204309
-
Ted Kremenek authored
llvm-svn: 204308
-
Ted Kremenek authored
The exception is return statements that include control-flow, which are clearly doing something "interesting". 99% of the cases I examined for -Wunreachable-code that fired on return statements were not interesting enough to warrant being in -Wunreachable-code by default. Thus the move to include them in -Wunreachable-code-return. This simplifies a bunch of logic, including removing the ad hoc logic to look for std::string literals. llvm-svn: 204307
-
Saleem Abdulrasool authored
Re-apply the change after it was reverted to do conflicts due to another change being reverted. llvm-svn: 204306
-
Craig Topper authored
[X86] Check return value of readSIB in disassembler so errors propagate. In particular this makes a too short instruction with a missing SIB byte fail. llvm-svn: 204305
-
Hao Liu authored
llvm-svn: 204304
-
Argyrios Kyrtzidis authored
to set the case-sensitivity for lookups. rdar://16374696 llvm-svn: 204303
-
Duncan P. N. Exon Smith authored
Use Darwin linker magic to find bounds of instrumentation data sections at link time instead of runtime. <rdar://problem/15943240> llvm-svn: 204302
-
Duncan P. N. Exon Smith authored
<rdar://problem/15943240> llvm-svn: 204301
-
Jordan Rose authored
Patch by Zach Davis! llvm-svn: 204300
-
Duncan P. N. Exon Smith authored
Currently we register instrumentation data at runtime to determine the bounds of the sections where the data lives. Soon we'll implement platform-specific linker magic to determine this at link time. Move this logic to a separate file, so that our build system can choose the correct platform-specific code. No functionality change intended. <rdar://problem/15943240> llvm-svn: 204299
-
Duncan P. N. Exon Smith authored
<rdar://problem/15943240> llvm-svn: 204298
-
Duncan P. N. Exon Smith authored
<rdar://problem/15943240> llvm-svn: 204297
-
Rui Ueyama authored
If the environment variable is defined and not empty, RoundTrip tests are run. The reason to move the tests behind the flag is because they are too slow to enable by default. LLD linking time on llvm-tblgen improved from 2m7s to 2.3s. About 60x faster now in this case. Differential Revision: http://llvm-reviews.chandlerc.com/D3126 llvm-svn: 204296
-
Jim Ingham authored
llvm-svn: 204295
-
Rafael Espindola authored
Given bar = foo + 4 .long bar MC would eat the 4. GNU as includes it in the relocation. The rule seems to be that a variable that defines a symbol is used in the relocation and one that does not define a symbol is evaluated and the result included in the relocation. Fixing this unfortunately required some other changes: * Since the variable is now evaluated, it would prevent the ELF writer from noticing the weakref marker the elf streamer uses. This patch then replaces that with a VariantKind in MCSymbolRefExpr. * Using VariantKind then requires us to look past other VariantKind to see .weakref bar,foo call bar@PLT doing this also fixes zed = foo +2 call zed@PLT so that is a good thing. * Looking past VariantKind means that the relocation selection has to use the fixup instead of the target. This is a reboot of the previous fixes for MC. I will watch the sanitizer buildbot and wait for a build before adding back the previous fixes. llvm-svn: 204294
-
Michael J. Spencer authored
llvm-svn: 204293
-
Joerg Sonnenberger authored
llvm-svn: 204292
-
Michael J. Spencer authored
With this all test-suite tests pass with lld on x86-64 Linux. llvm-svn: 204291
-
Joerg Sonnenberger authored
opcode is VAX. A function call pushes the number of arguments given onto the stack and "ret" will pop it automatically. The FDE of the caller contains the amount of stack space used for arguments (and possibly extra padding), so unwinding has to compensate for this when "returning" from a function. This is exactly the case when step() is done. The existing handling in unw_set_reg no longer makes sense. llvm-svn: 204290
-
Enrico Granata authored
Add NSMutableData to the list of types that the NSData formatter knows to represent llvm-svn: 204289
-
Jim Ingham authored
More recent compilers emit debug info for the length property of NSString, so the length will be correctly reported as NSUInteger. Adopt the test case to handle either possibility. llvm-svn: 204288
-
Jim Ingham authored
llvm-svn: 204287
-
Eric Christopher authored
This appears to trigger failures with optimization and function arguments somehow. This reverts commit r204277. llvm-svn: 204286
-
Rui Ueyama authored
InputElement::parse() may recursively call WinLinkDriver::parse() to handle .drectve section contents, and if /defaultlib option exists in the section, the driver will mutate the input graph to add a new input file to the graph. So the access to input graph needs to be protected with mutext. llvm-svn: 204285
-
Jim Ingham authored
I changed the logging test to just test that logging doesn't crash and does produce output. That's about all it is useful to test. llvm-svn: 204284
-
Jim Ingham authored
and not particularly useful. Skipping till we get a chance to make a test that actually tests something we care about. llvm-svn: 204283
-
Jim Ingham authored
llvm-svn: 204282
-
Jim Ingham authored
llvm-svn: 204281
-
Adrian Prantl authored
llvm-svn: 204280
-