Commit Graph

8 Commits

Author SHA1 Message Date
Oliver Chang 7c7b54edda msan_builder: Improve -Wl,defs detection and removal.
Also write tests.
2017-12-05 14:06:57 -08:00
Oliver Chang 6a4d0f864c msan_builder: Inject MSan flags in wrapper if they don't exist.
Some packages build test binaries that don't use DEB_C(XX)FLAGS and fail
during linking.
2017-12-04 14:51:21 -08:00
Oliver Chang 838e4c4d0d [infra] msan builder: one more variation of -Wl,-z,defs 2017-11-22 16:22:36 -08:00
Oliver Chang 0b44a69baf [infra] msan builder: disable all warnings. 2017-11-22 13:37:02 -08:00
Oliver Chang 5ccbcb82b4 [infra] More msan builder fixes.
- Removing -Wl,-z,defs doesn't always work, since they can be passed as
  -Wl,-z -Wl,defs instead.
- Add more debugging functionality.
2017-11-22 13:13:30 -08:00
Oliver Chang 308be48767 [infra] msan builder: don't print anything extra at all in compiler wrapper.
configure scripts can test for output to stderr as an indication of
error.
2017-11-22 10:14:47 -08:00
Oliver Chang 7653ee8b69 [infra] msan builder fixes.
- wrapper: print actual clang invocation to stderr instead.
- add -fPIC -fno-omit-frame-pointer to c/cxxflags
- replace -g with -gline-tables-only
2017-11-22 09:34:58 -08:00
Oliver Chang b03a098eeb
Initial MSan library builder script. (#1004) 2017-11-21 09:47:51 -08:00