⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 243922 in webkit


Ignore:
Timestamp:
Apr 4, 2019, 5:49:40 PM (7 years ago)
Author:
ap@apple.com
Message:

Use a correct LC_RPATH when building with ASan
https://bugs.webkit.org/show_bug.cgi?id=196576

Reviewed by David Kilzer.

  • asan/asan.xcconfig: As a temporary hack, just force LC_RPATH on all binaries,

so that ../Frameworks is checked. This is simpler and more reliable than updating
each SPC service xcconfig.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r243915 r243922  
     12019-04-04  Alexey Proskuryakov  <ap@apple.com>
     2
     3        Use a correct LC_RPATH when building with ASan
     4        https://bugs.webkit.org/show_bug.cgi?id=196576
     5
     6        Reviewed by David Kilzer.
     7
     8        * asan/asan.xcconfig: As a temporary hack, just force LC_RPATH on all binaries,
     9        so that ../Frameworks is checked. This is simpler and more reliable than updating
     10        each SPC service xcconfig.
     11
    1122019-04-04  Aakash Jain  <aakash_jain@apple.com>
    213
  • trunk/Tools/asan/asan.xcconfig

    r243751 r243922  
    1818ASAN_OTHER_CFLAGS = -fno-omit-frame-pointer -g;
    1919ASAN_OTHER_CPLUSPLUSFLAGS = $(ASAN_OTHER_CFLAGS);
     20
     21// Workaround for rdar://problem/49498092
     22OTHER_LDFLAGS = $(inherited) $(WK_LDFLAGS_ASAN_$(ENABLE_ADDRESS_SANITIZER));
     23WK_LDFLAGS_ASAN_YES = -Wl,-rpath,@executable_path/../Frameworks;
Note: See TracChangeset for help on using the changeset viewer.