4acd24ad78bd75882ef821cf817d6ff9734011ab |
|
30-Jul-2013 |
Stefanus Du Toit <stefanus.du.toit@intel.com> |
Use the correct compiler to compute dependencies. This uses $(CXX) instead of $(CC) to generate the .d files for tests built with Makefiles. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187426 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
10c0722de53ac1cbeb032cbafef00fdbac522abd |
|
24-Jul-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Fix test suite make so that -std=c++11 gets set properly for supported compilers and -std=c++0x gets set only for gcc 4.6 versions. Previously, -std=c++0x was being set for all compilers. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187080 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
82dc0f147502480a787fde1d01ed3ceb89a3193f |
|
02-Jul-2013 |
Michael Sartain <mikesart@valvesoftware.com> |
Add split symbol support to test makefile & add linux split symbol test case. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@185455 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
582466329a734d71285534df27a459b48408b6d4 |
|
13-Jun-2013 |
Greg Clayton <gclayton@apple.com> |
Added a new makefile setting that can be set in LLDB makefiles: USE_LIBCPP. This will enable libc++ support. Improved the makefile "clean" to include deleting all ".d.[0-9]+" files. Added options to the "lldb/examples/lookup" example and made it build using the LLDB_BUILD_DIR. If this is not set, it will default to "/Applications/Xcode.app/Contents/SharedFrameworks" on Darwin. Added options to the "lldb/examples/function" example and made it build using the LLDB_BUILD_DIR. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183949 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
fda7a97c8b7f62865750737c2a274e9e25d49ff6 |
|
07-Jun-2013 |
Enrico Granata <egranata@apple.com> |
Tweaking Daniel Malea's fixes to Makefile.rules to ensure that we correctly pass -stdlib=libstdc++ to clang when compiling as well as when linking Not doing this was causing link errors as clang was looking for libc++ symbols while linking against libstdc++ git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183482 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
6f25bcec7286e7d3153dfa07027d76759d443299 |
|
05-Jun-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix Makefiles in the data-formatter-stl tests - specify compiler flag -stdlib=libstdc++ only if using clang (not supported in gcc) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183333 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
711a5b14d8f75f7fa61dc31dc3b9dffae7fdf66b |
|
15-Mar-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Fix Makefile.rules where no icc is installed and -C gcc is used. Patch by Ashok Thirumurthi. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177192 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
57d4ab262f574ed1e1da955a7b6eb091156c343c |
|
15-Mar-2013 |
Matt Kopec <Matt.Kopec@intel.com> |
Add icc support to the test suite -adds icc to the lit of compilers to run the tests -adds icc test decorators -skip TestAnonymous.py for icc Patch by Ashok Thirumurthi. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@177174 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
36451fab1f3785dbc9103559b9c440f15cc5d03e |
|
28-Feb-2013 |
Greg Clayton <gclayton@apple.com> |
Replace all "-gdwarf-2" with "-g" to use the compiler defaults. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@176283 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
87a5c11cf39eb6d1974a470694afb0c265f0221e |
|
25-Jan-2013 |
Daniel Malea <daniel.malea@intel.com> |
Update test scripts and Makefiles to allow testing with GCC: - introduce new variable ARCHFLAG in make/Makefile.rules to switch between "-arch" on Mac and "-m" everywhere else - update testcase makefiles to use LD_EXTRAS instead of LDFLAGS (the former interacts with Makefile.rules badly) - special treatment for gcc 4.6: replace "-std=c++11" with "-std=c++0x" as the former is not handled correctly - remove hardcoded "-arch" from test Makefile This patch should not have any effect on lldb on Mac OS X. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@173402 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
951ebb9b80001273b3fd3ca15ac79e26b86fcb7d |
|
20-Sep-2012 |
Greg Clayton <gclayton@apple.com> |
Compile shared libraries with dSYM files when requested on darwin. Prior to this, we never had dSYM files for shared libraries unless it was a dylib only Makefile. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@164322 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
1463b65006ce354d39cd23fddaeb24c498e2b38b |
|
25-Apr-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add a suffix rule for compiling objc++ files and a sample directory under test/lang/objcxx. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@155501 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
77fa1b7af02cc539723f837f421f6f5a0d920d15 |
|
13-Apr-2012 |
Johnny Chen <johnny.chen@apple.com> |
Fix some test suite errors. TestForwardDecl.py errors were due to bad Makefile.rules, while TestHiddenIvars.py errors due to features only available in modern objc runtime. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@154635 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
931acecd4e3af534028936431dc0f75a9fd6eb02 |
|
23-Feb-2012 |
Sean Callanan <scallanan@apple.com> |
Added support for looking up the complete type for Objective-C classes. This allows LLDB to find ivars declared in class extensions in modules other than where the debugger is currently stopped (we already supported this when the debugger was stopped in the same module as the definition). This involved the following main changes: - The ObjCLanguageRuntime now knows how to hunt for the authoritative version of an Objective-C type. It looks for the symbol indicating a definition, and then gets the type from the module containing that symbol. - ValueObjects now report their type with a potential override, and the override is set if the type of the ValueObject is an Objective-C class or pointer type that is defined somewhere other than the original reported type. This means that "frame variable" will always use the complete type if one is available. - The ClangASTSource now looks for the complete type when looking for ivars. This means that "expr" will always use the complete type if one is available. - I added a testcase that verifies that both "frame variable" and "expr" work. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@151214 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
a2a9f793aacfb8413ca2e64e58e32de89d3c0c42 |
|
17-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add usage example from test/functionalities/archives/Makefile. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@148269 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
62f0b37967f3bbc699e2357683f745e65c290cec |
|
13-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
rdar://problem/10680957 Need a test case that tests DWARF with .o in .a files test/functionalities/archives: Produces libfoo.a from a.o and b.o. Test breaking inside functions defined inside the libfoo.a BSD Archive. test/make/makefile.rules: Some additional rules to sepcify archive building. For example: ARCHIVE_NAME := libfoo.a ARCHIVE_C_SOURCES := a.c b.c git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@148066 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
26697b8eb4a5b7338e274d60e3a3ef6570cb49a3 |
|
11-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add more usage examples. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147909 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
157fd95760d8693b442104d995e0f4d422c1cd45 |
|
11-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add usage examples of recently added functionality. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147907 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
159c7cc7ef0788aad9d1062d76a2412a0e2ef844 |
|
10-Jan-2012 |
Johnny Chen <johnny.chen@apple.com> |
Add a CFLAGS_EXTRAS make variable to be able to pass things (like '-DTEST_BLOCK_CAPTURED_VARS') to the compile phase. Plus add a DYLIB_ONLY make variable that can be used to turn off compilation/building of a.out. Example: [16:39:21] johnny:/Volumes/data/lldb/svn/trunk/test/lang/c/global_variables $ make clean rm -rf "a.out" "a.out.dSYM" main.o main.d a.o a.d liba.dylib liba.dylib.dSYM [16:39:24] johnny:/Volumes/data/lldb/svn/trunk/test/lang/c/global_variables $ make DYLIB_ONLY=YES clang -gdwarf-2 -O0 -arch x86_64 -c -o a.o a.c clang -gdwarf-2 -O0 -arch x86_64 a.o -install_name "@executable_path/liba.dylib" -dynamiclib -o "liba.dylib" [16:39:30] johnny:/Volumes/data/lldb/svn/trunk/test/lang/c/global_variables $ git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147821 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
fcf74f11eb2b3cdb528d17ce9430f9f990f59a1a |
|
10-Jan-2012 |
Greg Clayton <gclayton@apple.com> |
Update makefile rules to support C++ files in shared libraries and fix how the linker driver is found. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@147814 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
d7fc5b8d107b3df44acfcc694f26875e06c1b4e0 |
|
10-Dec-2011 |
Greg Clayton <gclayton@apple.com> |
<rdar://problem/10559329> An assertion was firing when parsing types due to trying to complete parent class decl contenxt types too often. Also, relax where "dsymutil" binary can come from in the Makefile.rules. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146310 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
44747290a593ae5d7c88d1c6a89d70814a883d39 |
|
14-Nov-2011 |
Johnny Chen <johnny.chen@apple.com> |
Dependency file for dylib source was not being cleaned up. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@144546 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
4ecbe3db4330cafb113dcb8046e18a310b53221e |
|
24-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
The plugin impl of getCompiler() should be in unison with the Makefile.rules change. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138454 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
93c7d374a89e44ce254257f203a04ea20e379e32 |
|
23-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Make clang the default compiler for building the test programs. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@138391 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
2072b493b4cefc7a18b13514c2296529683d5565 |
|
09-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Simplify lang/objc/self/Makefile, plus it's wrong. :-) For Makefile.rules, the modification of CFLAGS (addition of -arch $(ARCH) for Darwin) needs to come before the consuming of CFLAGS, not after. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137140 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
0b7566c5d44fe17d8e1afc218583315f19fcc3f0 |
|
04-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Fix makefile rules to prevent CFLAGS from appearing twice in the command line. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136917 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
62d527ebcc7f55c8ad10e9d692cf69a881fb933a |
|
04-Aug-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a test to check the integrity of the lldb public api directory containing SB*.h headers. There should be nothing unwanted there and a simpe main.cpp (generated from main.cpp.template) which includes SB*.h should compile and link with the LLDB framework. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@136894 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
a47b9bdabb11c81058b8e9171065bdfa7cbe020a |
|
20-Jun-2011 |
Johnny Chen <johnny.chen@apple.com> |
Change to get around the nested ifeq woes on OS X Snow Leopard: ../make/Makefile.rules:217: *** missing `endif'. Stop. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133466 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
cf043e61e29f2c722231964766fb7101b0121862 |
|
20-Jun-2011 |
Peter Collingbourne <peter@pcc.me.uk> |
Add Linux rules to test makefile git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@133456 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
44dc9d3b86cacd550e01a0c3ec7dd28126cf6ca4 |
|
18-Apr-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add a test script for exercising the "taregt create", "target list", and "target select" commands. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129717 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
df0d76b890e20bca84ef2d093bafb1664a99ca8c |
|
28-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Minor comment change. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124488 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
b3bd46318658e6adebe60c0999c614b25c6072ca |
|
14-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Add makefile debugging rule for printing out the value of a variable. From http://blog.melski.net/tag/debugging-makefiles/. Example: [13:14:59] johnny:/Volumes/data/lldb/svn/trunk/test/class_static $ make print-CC CC=gcc origin = file flavor = recursive value = gcc [13:15:09] johnny:/Volumes/data/lldb/svn/trunk/test/class_static $ make print-LD LD= g++ origin = file flavor = recursive value = $(call cxx_linker,$(CC)) [13:15:21] johnny:/Volumes/data/lldb/svn/trunk/test/class_static $ make print-CXX CXX= g++ origin = file flavor = recursive value = $(call cxx_compiler,$(CC)) [13:15:29] johnny:/Volumes/data/lldb/svn/trunk/test/class_static $ git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123469 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
6c455d1262a945fb3e14c67d54f4a1a8fd92393c |
|
14-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Added comments. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123463 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
022d8299720d9fafe04ad57bea3bf0c029e653ec |
|
14-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
Make CC defaults to gcc. The cxx_compiler and cxx_linker functions rely on substituting "g++" for "gcc". git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123461 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
217dca58281065ddb3bde42b98004e1ce9c51465 |
|
14-Jan-2011 |
Johnny Chen <johnny.chen@apple.com> |
The cxx_compiler function should not blindly return clang++ as the C++ compiler if $(CC) contains "clang". Instead, it should perform a textual replacement of $(CC) from "clang" to "clang++". The same is true for "llvm-gcc" to "llvm-g++" and for "gcc" to "g++". This way, we keep the path component of the $(CC) passed in from the user and do not end up with a mixed toolchains with different paths. Ditto for a newly added function called cxx_linker. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@123451 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
18a921fbdc01dfa8caff65a7006f5b5ae31ab683 |
|
30-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Stop using LLDB_CC/LLDB_ARCH in the plugins for test configurations. Use make friendly CC and ARCH, instead. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115169 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
ffd5229059669201ba31768f69dfc9f93ae28303 |
|
30-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added a utility function to return the counterpart C++ compiler of $(CC) and use it inside Makefile.rules to return clang++ on clang and llvm-g++ on llvm-gcc. Removed CPLUSPLUSFLAGS which is simply wrong and CPPFLAGS which is unnecessary. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115125 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
8ba13e6dda85f15dcd83f14d32edbbd99eed2405 |
|
27-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added "long long" and "unsigned long long" to the TestBasicTypes.py. Added a special "clean" target to the types/Makefile to clean up all the *.o/.d files. The generic_type_tester() method is modified to take a set of atoms, instead of type string as a required parameter, for example: o unsigned int => set(['unsigned', 'int']) o unsigned long long => set(['unsigned', 'long long']) o long long => set(['long long']) git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114871 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
ee263596db76d4090d63c89f7294c3ed599099d1 |
|
16-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Added a simple test case to set breakpoints on objc class/instance methods. Modified Makefile.rules to allow for overwriting the ARCH make variable. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114118 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
4890405466389954b07c10ab45b1d035c573ce34 |
|
13-Sep-2010 |
Johnny Chen <johnny.chen@apple.com> |
Extend the build mechanism to allow for specifying the compiler used to build the binaries. If the build* function is passed the compiler argument, for example, 'llvm-gcc', it is passed as a make variable to the make command. Otherwise, we check the LLDB_CC environment variable; if it is defined, it is passed as a make variable to the make command. If neither the compiler keyword argument nor the LLDB_CC environment variable is specified, no CC make variable is passed to the make command. The Makefile gets to define the default CC being used. -------------------------------------------------------------------------------- Example usage follows: o Via the keyword argument: class ArrayTypesTestCase(TestBase): mydir = "array_types" @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin") def test_with_dsym_and_run_command(self): """Test 'frame variable var_name' on some variables with array types.""" self.buildDsym(compiler='llvm-gcc') self.array_types() ... o Via LLDB_CC environment variable: $ LLDB_CC=llvm-gcc ./dotest.py -v -t array_types ---------------------------------------------------------------------- Collected 4 tests test_with_dsym_and_python_api (TestArrayTypes.ArrayTypesTestCase) Use Python APIs to inspect variables with array types. ... os command: [['/bin/sh', '-c', 'make clean; make MAKE_DSYM=YES CC=llvm-gcc']] output: rm -rf "a.out" "a.out.dSYM" main.o main.d llvm-gcc -arch x86_64 -gdwarf-2 -O0 -arch x86_64 -gdwarf-2 -O0 -c -o main.o main.c llvm-gcc -arch x86_64 -gdwarf-2 -O0 main.o -o "a.out" /usr/bin/dsymutil -o "a.out.dSYM" "a.out" ... git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113781 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
7a7d2b3619403914f302c005ca649fe586fc8826 |
|
24-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Generates the .d prerequisite file for dylib as well. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111920 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|
8f24cd14c5c86dabbe35bd8a04ea9fea581797f4 |
|
24-Aug-2010 |
Johnny Chen <johnny.chen@apple.com> |
Makefile refactoring for the test suite. Added a make directory under test, which hosts the Makefile.rules and modified most of the Makefiles under each test case directories to utilize Mekefile.rules. Added a description of 'make' directory into README-TestSuite file. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@111868 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/test/make/Makefile.rules
|