[LNT] r264151 - [profile] Remove debugging code in cPerf

James Molloy via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 23 04:37:08 PDT 2016


Author: jamesm
Date: Wed Mar 23 06:37:08 2016
New Revision: 264151

URL: http://llvm.org/viewvc/llvm-project?rev=264151&view=rev
Log:
[profile] Remove debugging code in cPerf

This was added to debug a test failure, but then never removed which means we were never adjusting shared objects.

Modified:
    lnt/trunk/lnt/testing/profile/cPerf.cpp

Modified: lnt/trunk/lnt/testing/profile/cPerf.cpp
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/testing/profile/cPerf.cpp?rev=264151&r1=264150&r2=264151&view=diff
==============================================================================
--- lnt/trunk/lnt/testing/profile/cPerf.cpp (original)
+++ lnt/trunk/lnt/testing/profile/cPerf.cpp Wed Mar 23 06:37:08 2016
@@ -668,7 +668,7 @@ void PerfReader::emitMaps() {
     // map base.
     bool IsSO = IsSharedObject(Maps[MapID].Filename);
     uint64_t Adjust = IsSO ? Maps[MapID].Start : 0;
-    Adjust = 0;
+
     NmOutput Syms(Nm);
     Syms.reset(&Maps[MapID]);
     auto Sym = Syms.begin();




More information about the llvm-commits mailing list