- Nov 24, 2012
-
-
Benjamin Kramer authored
Necessary to give disassembler users (like darwin's otool) a possibility to dlopen libLTO and still initialize the required LLVM bits. This used to go through libMCDisassembler but that's a gross layering violation, the MC layer can't pull in functions from the targets. Adding a function to libLTO is a bit of a hack but not worse than exposing other disassembler bits from libLTO. Fixes PR14362. llvm-svn: 168545
-
Benjamin Kramer authored
llvm-svn: 168543
-
Benjamin Kramer authored
The implementations already diverged a bit, merge them back together. llvm-svn: 168542
-
Benjamin Kramer authored
The last remaining bit is "bcl 20, 31, AnonSymbol", which I couldn't find the instruction definition for. Only whitespace changes in assembly output. llvm-svn: 168541
-
Benjamin Kramer authored
llvm-svn: 168540
-
Benjamin Kramer authored
No functionality change. llvm-svn: 168539
-
Craig Topper authored
llvm-svn: 168538
-
Kostya Serebryany authored
[asan/tsan] get rid of kPageSize completely in favor of GetPageSizeCached(). This makes the code friendly to more platforms llvm-svn: 168537
-
Rafael Espindola authored
We now store the Register and Offset directly. MachineLocation is gone (from this file)! llvm-svn: 168536
-
Nico Weber authored
llvm-svn: 168535
-
Rafael Espindola authored
This untangles the switch cases of the old Move and RelMove opcodes a bit and makes it clear how to add new instructions. llvm-svn: 168534
-
Rafael Espindola authored
llvm-svn: 168533
-
Rafael Espindola authored
Give MCCFIInstruction a single, private constructor and add helper static methods that create each type of cfi instruction. This is is preparation for changing its representation. The representation with a pair MachineLocations older than MC and has been abused quiet a bit to support more cfi instructions. llvm-svn: 168532
-
- Nov 23, 2012
-
-
Daniel Malea authored
llvm-svn: 168531
-
Daniel Malea authored
- hang resolved in r168503 llvm-svn: 168530
-
Daniel Malea authored
- add decorators @expectedFailLinux and @skipOnLinux - skip/mark xfail cases due to open bugzillas # 14323, 14416, 14423, 14424, 14425, 14426 Patch by Ashok Thirumurthi! llvm-svn: 168529
-
Benjamin Kramer authored
It can delete the block, and the loop continues on free'd memory. No change in output. Found by valgrind. llvm-svn: 168525
-
Craig Topper authored
llvm-svn: 168524
-
Daniel Malea authored
- Handle EINVAL return code from ptrace(GETSIGINFO, ...): not an error, but 'group-stop' state on Linux - propagate SIGSTOP to inferior in above case - this commit resolves the failure in expression_command/timeout testcase Thanks to Sean Callanan & Matt Kopec for helping debug this problem llvm-svn: 168523
-
Rafael Espindola authored
it will expand any .cfi_* directives in the input assembly. Unfortunately this cannot replace elf-dump in tests as the asm streamer cannot relax the line advance opcodes. llvm-svn: 168522
-
Benjamin Kramer authored
Fixes PR13758. llvm-svn: 168521
-
Rafael Espindola authored
Roman Divacky. I just added the testcase. llvm-svn: 168520
-
Rafael Espindola authored
"clang -cc1 -fsyntax-only" on the preprocessed output of #define M extern int a; #define M2 M M #define M4 M2 M2 #define M8 M4 M4 #define M16 M8 M8 #define M32 M16 M16 #define M64 M32 M32 #define M128 M64 M64 #define M256 M128 M128 #define M512 M256 M256 #define M1024 M512 M512 #define M2048 M1024 M1024 #define M4096 M2048 M2048 #define M8192 M4096 M4096 #define M16384 M8192 M8192 M16384 goes from 2.994s to 1.416s. GCC is at 0.022s, so we still have a long way to go. llvm-svn: 168519
-
Dmitry Vyukov authored
llvm-svn: 168518
-
Kostya Serebryany authored
[asan] get rid of some of the uses of kPageSize. The intent is to get rid of it completely to support platforms with multiple possible page sizes. llvm-svn: 168517
-
Patrik Hägglund authored
Update some test cases accordingly. llvm-svn: 168516
-
Rafael Espindola authored
llvm-svn: 168515
-
Rafael Espindola authored
Decl::isUsed checks the attribute. If the function had a body just the check is DeclMustBeEmitted would be sufficient. llvm-svn: 168514
-
Alexey Samsonov authored
llvm-svn: 168513
-
Bill Wendling authored
llvm-svn: 168512
-
Joey Gouly authored
llvm-svn: 168511
-
Joey Gouly authored
llvm-svn: 168510
-
Alexey Samsonov authored
llvm-svn: 168509
-
Alexey Samsonov authored
llvm-svn: 168508
-
Patrik Hägglund authored
llvm-svn: 168507
-
Dmitry Vyukov authored
llvm-svn: 168506
-
Bob Wilson authored
Unlike my previous attempt at this, this patch leaves intact the check for whether clang can handle the input file type, and for non-Darwin toolchains it will invoke gcc for things it cannot handle. For Darwin toolchains, the behavior reported in pr14338 still occurs with this patch, but that is a definite improvement from what happens currently, where it just crashes with an assertion failure. llvm-svn: 168505
-
- Nov 22, 2012
-
-
Venkatraman Govindaraju authored
llvm-svn: 168504
-
Daniel Malea authored
- StopMonitor() is called anyways from ProcessMonitor destructor later - resolves hang in TestEvents.py Patch by Matt Kopec! llvm-svn: 168503
-
Rafael Espindola authored
llvm-svn: 168502
-