[llvm-commits] [compiler-rt] r147341 - in /compiler-rt/trunk: lib/asan/Makefile.old make/config.mk
Kostya Serebryany
kcc at google.com
Thu Dec 29 09:29:20 PST 2011
Author: kcc
Date: Thu Dec 29 11:29:20 2011
New Revision: 147341
URL: http://llvm.org/viewvc/llvm-project?rev=147341&view=rev
Log:
[asan] build asan-rt with -funwind-tables
Modified:
compiler-rt/trunk/lib/asan/Makefile.old
compiler-rt/trunk/make/config.mk
Modified: compiler-rt/trunk/lib/asan/Makefile.old
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/Makefile.old?rev=147341&r1=147340&r2=147341&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/Makefile.old (original)
+++ compiler-rt/trunk/lib/asan/Makefile.old Thu Dec 29 11:29:20 2011
@@ -262,7 +262,8 @@
$(ASAN_CXX) $(GTEST_INCLUDE) -I. -g -c $< -O2 -o $@ -ObjC $(PIE) $(CFLAGS)
$(BIN)/%$(SUFF).o: %.cc $(RTL_HDR) $(MAKEFILE)
- $(CXX) $(PIE) $(CFLAGS) -fPIC -c -O2 -fno-exceptions -o $@ -g $< -Ithird_party \
+ $(CXX) $(PIE) $(CFLAGS) -fPIC -c -O2 -fno-exceptions -funwind-tables \
+ -o $@ -g $< -Ithird_party \
-DASAN_USE_SYSINFO=1 \
-DASAN_NEEDS_SEGV=$(ASAN_NEEDS_SEGV) \
-DASAN_HAS_EXCEPTIONS=$(ASAN_HAS_EXCEPTIONS) \
Modified: compiler-rt/trunk/make/config.mk
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/make/config.mk?rev=147341&r1=147340&r2=147341&view=diff
==============================================================================
--- compiler-rt/trunk/make/config.mk (original)
+++ compiler-rt/trunk/make/config.mk Thu Dec 29 11:29:20 2011
@@ -42,5 +42,5 @@
###
# Common compiler options
-COMMON_CXXFLAGS=-fno-exceptions -fPIC
+COMMON_CXXFLAGS=-fno-exceptions -fPIC -funwind-tables
COMMON_CFLAGS=-fPIC
More information about the llvm-commits
mailing list